Commit 2740a235 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

testTranslation: commit transaction before ERP5Site_updateTranslationTable().

ERP5Site_updateTranslationTable() calls 'DROP TABLE' thus another SELECT transaction should be committed before that.
parent 6b55ac3e
...@@ -339,6 +339,7 @@ class TestWorkflowStateTitleTranslation(ERP5TypeTestCase): ...@@ -339,6 +339,7 @@ class TestWorkflowStateTitleTranslation(ERP5TypeTestCase):
'state', 'state',
workflow_id)) workflow_id))
# Update the translation table # Update the translation table
self.commit()
self.portal.ERP5Site_updateTranslationTable() self.portal.ERP5Site_updateTranslationTable()
self.tic() self.tic()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment