From 7db3c2e790683d3f62498d2583fa5cef04fc41ac Mon Sep 17 00:00:00 2001 From: Davit Lomauridze Date: Mon, 8 Jul 2024 13:01:57 +0400 Subject: [PATCH] fixing the testing code --- document_page_portal/tests/test_document_page_portal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/document_page_portal/tests/test_document_page_portal.py b/document_page_portal/tests/test_document_page_portal.py index 9516c53e9d1..425bebfdb41 100644 --- a/document_page_portal/tests/test_document_page_portal.py +++ b/document_page_portal/tests/test_document_page_portal.py @@ -8,7 +8,7 @@ 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", @@ -16,7 +16,7 @@ def setUp(self): } ) self.db = self.env.cr.dbname - self.login = self.portal_user.login + self.login = "admin" self.password = "admin" self.user_agent_env = {}