Test corrected

This commit is contained in:
Gervais Naoussi 2015-12-08 18:55:27 +01:00 committed by Jose Maria Alzaga
parent 8bc8a96000
commit fe65d343e4

View File

@ -20,7 +20,8 @@ class TestDocumentPageShowDiff(common.TransactionCase):
active_ids=[i.id for i in history_pages] active_ids=[i.id for i in history_pages]
).get_diff()) ).get_diff())
page.content = 'Test content updated' page.write({'content': 'Text content updated'})
page.write({'content': 'Text updated'})
history_pages = history_document.search([('page_id', '=', page.id)]) history_pages = history_document.search([('page_id', '=', page.id)])