diff --git a/bt5/erp5_document_scanner_ui_test/TestTemplateItem/portal_components/test.erp5.testDocumentScanner.py b/bt5/erp5_document_scanner_ui_test/TestTemplateItem/portal_components/test.erp5.testDocumentScanner.py index 3a2acfa08269cebcb2f31e602f0ed74563241795..12684aa0511ea99bb6e4fffefd58f072ada3f1c3 100644 --- a/bt5/erp5_document_scanner_ui_test/TestTemplateItem/portal_components/test.erp5.testDocumentScanner.py +++ b/bt5/erp5_document_scanner_ui_test/TestTemplateItem/portal_components/test.erp5.testDocumentScanner.py @@ -51,7 +51,7 @@ class DocumentScanner(ERP5TypeTestCase): def test_remove_outdated_active_process(self): data_dict = json.loads( - self.portal.Base_getDefaultBackendDataAsJSON()) + self.portal.Base_getDocumentScannerDefaultBackendDataAsJSON()) self.assertEqual(data_dict["image_list"], []) active_process_url = data_dict["active_process"] active_process = self.portal.restrictedTraverse(str(active_process_url))