diff --git a/product/ERP5/tests/testCRM.py b/product/ERP5/tests/testCRM.py index 869bc2f7cac3e0067d7d872f745df21860f9f40a..a8dfc65312bc825036ea0c8cbad7a9a7c23b29f8 100644 --- a/product/ERP5/tests/testCRM.py +++ b/product/ERP5/tests/testCRM.py @@ -160,25 +160,19 @@ class TestCRM(ERP5TypeTestCase): class TestCRMMailIngestion(ERP5TypeTestCase): - """Test Mail Ingestion for CRM. + """Test Mail Ingestion for standalone CRM. """ def getBusinessTemplateList(self): - # In this test, We will attach some document portal types in event. - # So we add DMS and Web. - return ('erp5_base', 'erp5_crm', 'erp5_web', - 'erp5_dms_mysql_innodb_catalog', 'erp5_dms') + # Mail Ingestion must work with CRM alone. + return ('erp5_base', + 'erp5_ingestion', + 'erp5_ingestion_mysql_innodb_catalog', 'erp5_crm', + ) def afterSetUp(self): portal = self.portal - # XXX this should not be necessary either - # set prefered file name regular expression - pref = portal.portal_preferences.default_site_preference - pref.setPreferredDocumentFileNameRegularExpression('.*') - pref.setPreferredDocumentReferenceRegularExpression('.*') - pref.enable() - # XXX do this in ERP5Site.py ? # sets up content type registry ctr = self.portal.content_type_registry