mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 05:12:18 -06:00
[MIG] document_page: Migration to 12.0
This commit is contained in:
committed by
Dũng (Trần Đình)
parent
a18fb85302
commit
b060aa012f
@@ -13,8 +13,8 @@ class TestDocumentPageHistory(common.TransactionCase):
|
||||
history_pages = history_document.search([('page_id', '=', page.id)])
|
||||
active_ids = [i.id for i in history_pages]
|
||||
|
||||
result = history_document.getDiff(active_ids[0], active_ids[0])
|
||||
result = history_document._get_diff(active_ids[0], active_ids[0])
|
||||
self.assertEqual(result, 'There are no changes in revisions.')
|
||||
|
||||
result = history_document.getDiff(active_ids[0], active_ids[1])
|
||||
result = history_document._get_diff(active_ids[0], active_ids[1])
|
||||
self.assertNotEqual(result, 'There are no changes in revisions.')
|
||||
|
||||
Reference in New Issue
Block a user