mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 03:42:19 -06:00
[16.0][MIG] document_page: Migration to 16.0
This commit is contained in:
committed by
Justine Doutreloux
parent
83ff1fbb5a
commit
7823500154
@@ -4,7 +4,7 @@ from odoo.tests import common
|
||||
|
||||
class TestDocumentPage(common.TransactionCase):
|
||||
def setUp(self):
|
||||
super(TestDocumentPage, self).setUp()
|
||||
super().setUp()
|
||||
self.page_obj = self.env["document.page"]
|
||||
self.history_obj = self.env["document.page.history"]
|
||||
self.category1 = self.env.ref("document_page.demo_category1")
|
||||
@@ -41,7 +41,7 @@ class TestDocumentPage(common.TransactionCase):
|
||||
page.backend_url,
|
||||
"/web#id={}&model=document.page&view_type=form".format(page.id),
|
||||
)
|
||||
menu = self.env.ref("knowledge.menu_document")
|
||||
menu = self.env.ref("document_knowledge.menu_document")
|
||||
page.menu_id = menu
|
||||
self.assertEqual(
|
||||
page.backend_url,
|
||||
|
||||
Reference in New Issue
Block a user