[MIG] document_page: Migration to 12.0

This commit is contained in:
mreficent
2019-03-12 13:23:37 +01:00
committed by FernandoRomera
parent b7212b36ab
commit 28bd2f8566
25 changed files with 51 additions and 60 deletions

View File

@@ -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.')