Skip to content

Commit

Permalink
Update ExecutableIOGatewayCheckerUseCaseTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierlemee committed Aug 30, 2024
1 parent 89f9fd9 commit a86f9f9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ void givenUndefinedHttpPortEnvironmentVariable_whenHealthyStateChecked_thenMissi

// Try backend module (Verticle deployment) start
vertx.deployVerticle(new AccessControlDomainIOGateway())
.onComplete(res -> {
assertFalse(res.succeeded(), "Start shall have been not executed for cause of undefined environment variable!");
.onSuccess(res -> {
fail("Start shall have been not executed for cause of undefined environment variable!");
}).onFailure(e -> {
assertNotNull(e, "Start Shall have been rejected");
});
}
}

0 comments on commit a86f9f9

Please sign in to comment.