Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierlemee committed Aug 30, 2024
1 parent 545a8a8 commit fcd16d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ void givenUndefinedHttpPortEnvironmentVariable_whenHealthyStateChecked_thenMissi
// Try backend module (Verticle deployment) start
vertx.deployVerticle(new AccessControlDomainIOGateway()).onComplete(handler -> {
String result = handler.result();
boolean isFailed = handler.failed();
assertTrue(isFailed, "Start shall have been not executed for cause of undefined environment variable (result: " + result + ")!");
assertFalse(handler.succeeded(), "Start shall have been not executed for cause of undefined environment variable (result: " + result + ")!");
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ void givenUndefinedHttpPortEnvironmentVariable_whenHealthyStateChecked_thenMissi
// Try backend module (Verticle deployment) start
vertx.deployVerticle(new AccessControlDomainProcessModule()).onComplete(handler -> {
String result = handler.result();
boolean isFailed = handler.failed();
assertTrue(isFailed, "Start shall have been not executed for cause of undefined environment variable (result: " + result + ")!");
assertFalse(handler.succeeded(), "Start shall have been not executed for cause of undefined environment variable (result: " + result + ")!");
});
}
}

0 comments on commit fcd16d5

Please sign in to comment.