This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit ccf99d8325fb5a05f4eaa1e1cc64c7a52e343f95
Author: JiriOndrusek <[email protected]>
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");
     }
 }

Reply via email to