Commit 2feeba60 authored by Gabriel Monnerat's avatar Gabriel Monnerat

[erp5_document_scanner_ui_test]: fix alarm path

parent 9aa4bc0d
Pipeline #8336 failed with stage
in 0 seconds
...@@ -73,6 +73,6 @@ class DocumentScanner(ERP5TypeTestCase): ...@@ -73,6 +73,6 @@ class DocumentScanner(ERP5TypeTestCase):
req("update catalog set modification_date='{date}' where uid={uid}".format( req("update catalog set modification_date='{date}' where uid={uid}".format(
date=(DateTime()-6).toZone('UTC'), date=(DateTime()-6).toZone('UTC'),
uid=active_process.getUid())) uid=active_process.getUid()))
self.portal.portal_alarms.remove_outdated_active_process.activeSense() self.portal.portal_alarms.remove_outdated_document_scanner_active_processes.activeSense()
self.tic() self.tic()
self.assertNotIn(active_process.getId(), list(self.portal.portal_activities.objectIds())) self.assertNotIn(active_process.getId(), list(self.portal.portal_activities.objectIds()))
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