Commit bdf8d933 authored by Vincent Pelletier's avatar Vincent Pelletier

After hot reindex, verify that default catalog is the new one.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36249 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ba79c6e
......@@ -1759,6 +1759,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
# Flush message queue
transaction.commit()
self.tic()
self.assertEqual(portal_catalog.getSQLCatalog().getId(), new_catalog_id)
# Check that column map is updated according new structure of catalog.
self.assertTrue('dummy.dummy_title' in portal_catalog.getSQLCatalog().getColumnMap())
# Check more cached methods of SQLCatalog by building SQLQuery
......
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