You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2024/11/15 17:55:49 UTC
(camel-quarkus) 02/39: Fixed CamelQuarkusTestSupport method for asserting contexts
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 7309047f6ecfb8fc8960039956f29772102f8142
Author: JiriOndrusek <on...@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");
}
}