mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
[MIG] document_page: Migration to 12.0
This commit is contained in:
committed by
Alberto Martínez
parent
ade79d8b66
commit
31a240ba83
@@ -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