mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-19 03:42:19 -06:00
[MIG] document_page: Migration to 15.0
This commit is contained in:
committed by
Justine Doutreloux
parent
374f250e2b
commit
a2e0c9b8dd
@@ -15,12 +15,12 @@ class TestDocumentPage(common.TransactionCase):
|
||||
{
|
||||
"name": "Test Page 1",
|
||||
"parent_id": self.category1.id,
|
||||
"content": "Test content",
|
||||
"content": "<p>Test content</p>",
|
||||
}
|
||||
)
|
||||
self.assertEqual(page.content, "Test content")
|
||||
self.assertEqual(page.content, "<p>Test content</p>")
|
||||
self.assertEqual(len(page.history_ids), 1)
|
||||
page.content = "New content for Demo Page"
|
||||
page.content = "<p>New content for Demo Page</p>"
|
||||
self.assertEqual(len(page.history_ids), 2)
|
||||
|
||||
def test_category_template(self):
|
||||
|
||||
Reference in New Issue
Block a user