commit | 422f533898ea660c158517c03b9d16b578d70090 | [log] [tgz] |
---|---|---|
author | Claus Ibsen <claus.ibsen@gmail.com> | Fri Mar 05 16:39:28 2021 +0100 |
committer | Claus Ibsen <claus.ibsen@gmail.com> | Fri Mar 05 16:39:28 2021 +0100 |
tree | b7570e89a5f2d56dd6900cff94ba3bf43a64fe66 | |
parent | 5be8af156764e0046aa3bddf0f1b23306ad9870e [diff] |
Fixed test
diff --git a/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java b/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java index 234e155..f3e47cc 100644 --- a/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java +++ b/examples/spring/src/test/java/org/apache/camel/example/spring/IntegrationTest.java
@@ -25,6 +25,7 @@ @Test public void testCamelRulesDeployCorrectlyInSpring() throws Exception { // let's boot up the Spring application context for 2 seconds to check that it works OK - Main.main("-duration", "2s", "-o", "target/site/cameldoc"); + Main main = new Main(); + main.run(new String[]{"-duration", "2s", "-o", "target/site/cameldoc"}); } }