Commit 670a59c4 authored by Ayush Tiwari's avatar Ayush Tiwari

multiple_catalog: Update tests

parent abbcea80
...@@ -1321,7 +1321,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): ...@@ -1321,7 +1321,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
self.new_deferred_connection_id)) self.new_deferred_connection_id))
# Validate the new_catalog # Validate the new_catalog
new_catalog.workflow_history['validation_workflow'][-1]['validation_state'] = 'validated' new_catalog.validate()
#launch the full hot reindexing #launch the full hot reindexing
portal_catalog.manage_hotReindexAll(source_sql_catalog_id=self.original_catalog_id, portal_catalog.manage_hotReindexAll(source_sql_catalog_id=self.original_catalog_id,
...@@ -1933,7 +1933,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): ...@@ -1933,7 +1933,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
self.checkRelativeUrlNotInSQLPathList(path_list, connection_id=self.new_connection_id) self.checkRelativeUrlNotInSQLPathList(path_list, connection_id=self.new_connection_id)
# Now we validate the new_catalog # Now we validate the new_catalog
new_catalog.workflow_history['validation_workflow'][-1]['validation_state'] = 'validated' new_catalog.validate()
# Update some changes in sql_method # Update some changes in sql_method
sql_method.setTitle('New Title') sql_method.setTitle('New Title')
......
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