This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-main by this push: new b3efd8441c Fixed CamelQuarkusTestSupport method for asserting contexts b3efd8441c is described below commit b3efd8441c2a10f9710e0e5da5f8950e5923cac6 Author: JiriOndrusek <ondrusek.j...@gmail.com> AuthorDate: Thu Sep 19 16:38:53 2024 +0200 Fixed CamelQuarkusTestSupport method for asserting contexts --- .../java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-framework/junit5/src/main/java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java b/test-framework/junit5/src/main/java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java index 8a6a738ef4..bdef1309e8 100644 --- a/test-framework/junit5/src/main/java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java +++ b/test-framework/junit5/src/main/java/org/apache/camel/quarkus/test/CamelQuarkusTestSupport.java @@ -499,7 +499,7 @@ public class CamelQuarkusTestSupport extends AbstractTestSupport 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"); } }