This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new aa52ca86199 CAMEL-15105: fixed invalid NPE on EmptyRouteFileTest test (#9801) aa52ca86199 is described below commit aa52ca86199ab906a60c144682520124355614c2 Author: Otavio Rodolfo Piske <orpi...@users.noreply.github.com> AuthorDate: Tue Apr 4 04:22:47 2023 -0300 CAMEL-15105: fixed invalid NPE on EmptyRouteFileTest test (#9801) --- .../src/test/groovy/org/apache/camel/dsl/yaml/EmptyRouteFileTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/EmptyRouteFileTest.groovy b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/EmptyRouteFileTest.groovy index e46378f8157..9173fbf10c9 100644 --- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/EmptyRouteFileTest.groovy +++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/test/groovy/org/apache/camel/dsl/yaml/EmptyRouteFileTest.groovy @@ -27,7 +27,7 @@ class EmptyRouteFileTest extends YamlTestSupport { def "empty file"() { when: - RoutesLoader loader = PluginHelper.getRoutesLoader(context).getRoutesLoader() + RoutesLoader loader = PluginHelper.getRoutesLoader(context); Resource res = ResourceHelper.fromString("dummy.yaml", ""); then: try {