Skip to content

Commit

Permalink
fixing the testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
Davit Lomauridze committed Jul 8, 2024
1 parent 0946f54 commit 7db3c2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions document_page_portal/tests/test_document_page_portal.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
class TestPortalDocumentPage(odoo.tests.HttpCase):
def setUp(self):
super(TestPortalDocumentPage, self).setUp()
self.portal_user = self.env.ref("base.user_demo")
# self.portal_user = self.env.ref("base.user_demo")
self.document_page = self.env["document.page"].create(
{
"name": "Test Document",
"type": "content",
}
)
self.db = self.env.cr.dbname
self.login = self.portal_user.login
self.login = "admin"
self.password = "admin"
self.user_agent_env = {}

Expand Down

0 comments on commit 7db3c2e

Please sign in to comment.