Commit 50805955 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: remove plural from alarm id

parent 2feeba60
Pipeline #8337 failed with stage
in 0 seconds
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>remove_outdated_document_scanner_active_processes</string> </value> <value> <string>remove_outdated_document_scanner_active_process</string> </value>
</item> </item>
<item> <item>
<key> <string>periodicity_day_frequency</string> </key> <key> <string>periodicity_day_frequency</string> </key>
......
portal_alarms/remove_outdated_document_scanner_active_processes portal_alarms/remove_outdated_document_scanner_active_process
web_page_module/scanner_gadget_* web_page_module/scanner_gadget_*
\ No newline at end of file
...@@ -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_document_scanner_active_processes.activeSense() self.portal.portal_alarms.remove_outdated_document_scanner_active_process.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