diff --git a/ordinis-app/src/test/resources/application-test.yml b/ordinis-app/src/test/resources/application-test.yml index e2d5d8b..db027cc 100644 --- a/ordinis-app/src/test/resources/application-test.yml +++ b/ordinis-app/src/test/resources/application-test.yml @@ -36,6 +36,15 @@ ordinis: allow-query-scope: true outbox: enabled: ${ORDINIS_OUTBOX_ENABLED:false} + # Disable notifications dispatcher in e2e — TODO 7 (MR !190) added a + # @Scheduled poller that reads outbox_events. В тестах outbox event rows + # остаются от draft submit/approve fixture (ApprovalWorkflowE2ETest), и + # dispatcher тик бы рендерил/диспатчил через MessageRenderer + EmailChannel + # на каждом polling cycle. Counters + log noise загрязняют assertions about + # outbox/notification state. Override via ORDINIS_NOTIFICATIONS_ENABLED=true + # если нужно гонять notification e2e отдельно. + notifications: + enabled: ${ORDINIS_NOTIFICATIONS_ENABLED:false} bundle: cuod: auto-import: ${ORDINIS_BUNDLE_AUTOIMPORT:false}