Skip to content

Commit

Permalink
Fixed CamelQuarkusTestSupport method for asserting contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriOndrusek committed Oct 9, 2024
1 parent fb174cb commit 2b16e26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ Set<String> getCreatedRoutes() {

private void assertTestClassCamelContextMatchesAppCamelContext() {
// Test classes must use the same CamelContext as the application under test
Assertions.assertEquals(context, super.context,
Assertions.assertEquals(context, contextManager.context(),
"CamelQuarkusTestSupport uses a different CamelContext compared to the application under test");
}
}

0 comments on commit 2b16e26

Please sign in to comment.