From e2673dbcf4235733c6d41cc3db945e8634ed94da Mon Sep 17 00:00:00 2001 From: Papa Bakary Camara Date: Wed, 25 Oct 2023 13:40:03 +0200 Subject: [PATCH] Update log message expected when report to notify is detected --- docker-compose.yml | 2 +- .../ccx-notification-service/customer_notifications.feature | 6 +++--- features/ccx-notification-service/service_log.feature | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 20fa43d8..d0ca8c18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: - "sleep infinity" database: ports: - - 5432:5432 + - 25432:5432 image: postgres:13.9 environment: - POSTGRES_USER=postgres diff --git a/features/ccx-notification-service/customer_notifications.feature b/features/ccx-notification-service/customer_notifications.feature index c0c7b22e..118e77e2 100644 --- a/features/ccx-notification-service/customer_notifications.feature +++ b/features/ccx-notification-service/customer_notifications.feature @@ -31,9 +31,9 @@ Feature: Customer Notifications Then it should have sent 0 notification events to Kafka And the process should exit with status code set to 0 And the logs should match - | log | contains | - | Report with high impact detected | yes | - | No new issues to notify | no | + | log | contains | + | Report with impact higher than configured threshold detected | yes | + | No new issues to notify | no | When I select all rows from table reported Then I should get 1 rows diff --git a/features/ccx-notification-service/service_log.feature b/features/ccx-notification-service/service_log.feature index 48c367b8..73f55f51 100644 --- a/features/ccx-notification-service/service_log.feature +++ b/features/ccx-notification-service/service_log.feature @@ -23,9 +23,9 @@ Feature: Service Log Then it should have sent 0 notification events to Service Log And the process should exit with status code set to 0 And the logs should match - | log | contains | - | Report with high impact detected | yes | - | No new issues to notify | no | + | log | contains | + | Report with impact higher than configured threshold detected | yes | + | No new issues to notify | no | @rest-api