Skip to content

Commit

Permalink
Fix test with dirty class assertion
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Lisowski <[email protected]>
  • Loading branch information
MaciejDromin authored and yrodiere committed Dec 15, 2023
1 parent fd94a66 commit 4724230
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class TransactionJdbcObjectStoreValidationFailureTest {
.setForcedDependencies(List.of(Dependency.of("io.quarkus", "quarkus-jdbc-h2", Version.getVersion())))
.assertException(t -> {
Throwable rootCause = ExceptionUtil.getRootCause(t);
if (rootCause instanceof ConfigurationException) {
if (rootCause.getClass().getName().equals(ConfigurationException.class.getName())) {
assertTrue(rootCause.getMessage().contains(
"The Narayana JTA extension is configured to use the datasource 'test' but that datasource is not configured."));
} else {
Expand Down

0 comments on commit 4724230

Please sign in to comment.