Commit de675408 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix a mistake in r43294.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43296 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c14e979b
......@@ -194,7 +194,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
catalog = self.portal.portal_catalog.erp5_mysql_innodb
for method_id in ('z_fake_method', 'z_another_fake_method'):
if method_id in catalog.objectIds():
catalog.manage_delObjects(['z_fake_method'])
catalog.manage_delObjects([method_id])
sql_uncatalog_object = list(catalog.sql_uncatalog_object)
if method_id in sql_uncatalog_object:
sql_uncatalog_object.remove(method_id)
......
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