From 838776063f8c11f200b70193f0d2937661694107 Mon Sep 17 00:00:00 2001 From: alovew Date: Fri, 5 Aug 2022 16:40:51 -0700 Subject: [PATCH] fix test --- .../io/airbyte/notification/SlackNotificationClientTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte-notification/src/test/java/io/airbyte/notification/SlackNotificationClientTest.java b/airbyte-notification/src/test/java/io/airbyte/notification/SlackNotificationClientTest.java index 3429f1024f88..aecb3c757321 100644 --- a/airbyte-notification/src/test/java/io/airbyte/notification/SlackNotificationClientTest.java +++ b/airbyte-notification/src/test/java/io/airbyte/notification/SlackNotificationClientTest.java @@ -144,7 +144,7 @@ void testNotifyConnectionDisabled() throws IOException, InterruptedException { .withNotificationType(NotificationType.SLACK) .withSendOnSuccess(true) .withSlackConfiguration(new SlackNotificationConfiguration().withWebhook(WEBHOOK_URL + server.getAddress().getPort() + TEST_PATH))); - assertTrue(client.notifyConnectionDisabled("", SOURCE_TEST, DESTINATION_TEST, JOB_DESCRIPTION, WORKSPACE_ID, CONNECTION_ID)); + assertTrue(client.notifyConnectionDisabled("", SOURCE_TEST, DESTINATION_TEST, "job description.", WORKSPACE_ID, CONNECTION_ID)); } @Test @@ -166,7 +166,7 @@ void testNotifyConnectionDisabledWarning() throws IOException, InterruptedExcept .withNotificationType(NotificationType.SLACK) .withSendOnSuccess(true) .withSlackConfiguration(new SlackNotificationConfiguration().withWebhook(WEBHOOK_URL + server.getAddress().getPort() + TEST_PATH))); - assertTrue(client.notifyConnectionDisableWarning("", SOURCE_TEST, DESTINATION_TEST, JOB_DESCRIPTION, WORKSPACE_ID, CONNECTION_ID)); + assertTrue(client.notifyConnectionDisableWarning("", SOURCE_TEST, DESTINATION_TEST, "job description.", WORKSPACE_ID, CONNECTION_ID)); } static class ServerHandler implements HttpHandler {