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

commit 5756df46e6888cde0bfd0df5605cf539424ce2b0
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 20f62ddc6f..e4ae57364d 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
@@ -503,7 +503,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