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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit cc07a915dd42456908ed65e6afd108ec8a99c33a
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Tue May 14 17:01:30 2024 +0200

    (chores) camel-test-junit5: remove SpringBootTest from the 
applyCamelPostProcessor
    
    This class is blocked in setup and, therefore, unsupported for testing
---
 .../src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
index 4f565b8c195..60d8103ff03 100644
--- 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
+++ 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
@@ -727,8 +727,7 @@ public abstract class CamelTestSupport
     protected void applyCamelPostProcessor() throws Exception {
         // use the bean post processor if the test class is not dependency
         // injected already by Spring Framework
-        boolean spring = ExtensionHelper.hasClassAnnotation(getClass(), 
"org.springframework.boot.test.context.SpringBootTest",
-                "org.springframework.context.annotation.ComponentScan");
+        boolean spring = ExtensionHelper.hasClassAnnotation(getClass(), 
"org.springframework.context.annotation.ComponentScan");
         if (!spring) {
             
PluginHelper.getBeanPostProcessor(context).postProcessBeforeInitialization(this,
                     getClass().getName());

Reply via email to