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 <macieejl00@gmail.com>
  • Loading branch information
MaciejDromin committed Dec 13, 2023
1 parent 3d8787c commit c87a54d
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 c87a54d

Please sign in to comment.