Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alovew committed Aug 5, 2022
1 parent 141cc96 commit 8387760
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit 8387760

Please sign in to comment.