davsclaus commented on PR #12386:
URL: https://github.com/apache/camel/pull/12386#issuecomment-1849367972

   Thanks, the test should really extend CamelSpringTestSupport and be 
something like
   
   ```
   public class ErrorHandlerDefinitionParserTest extends SpringTestSupport {
   
       @Override
       protected AbstractXmlApplicationContext createApplicationContext() {
           return new 
ClassPathXmlApplicationContext("org/apache/camel/spring/xml/handler/ErrorHandlerDefinitionParser.xml");
       }
   
   ```
   
   And `ctx` should then be `applicationContext`.
   
   Can you try to change the PR to do that, thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to