You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/03/12 06:41:35 UTC
[camel] branch master updated: Camel-Groovy: Fixed build
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 3702044 Camel-Groovy: Fixed build
3702044 is described below
commit 37020447c8cf1b9576eb0b6128c9504990d45a42
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 12 07:41:02 2019 +0100
Camel-Groovy: Fixed build
---
.../java/org/apache/camel/language/groovy/GroovyShellFactoryTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-groovy/src/test/java/org/apache/camel/language/groovy/GroovyShellFactoryTest.java b/components/camel-groovy/src/test/java/org/apache/camel/language/groovy/GroovyShellFactoryTest.java
index 8fd6408..6811d52 100644
--- a/components/camel-groovy/src/test/java/org/apache/camel/language/groovy/GroovyShellFactoryTest.java
+++ b/components/camel-groovy/src/test/java/org/apache/camel/language/groovy/GroovyShellFactoryTest.java
@@ -38,7 +38,7 @@ public class GroovyShellFactoryTest extends CamelTestSupport {
GroovyShellFactory groovyShellFactory = mock(GroovyShellFactory.class);
given(groovyShellFactory.createGroovyShell(any(Exchange.class))).willReturn(new GroovyShell());
SimpleRegistry registry = new SimpleRegistry();
- registry.put("groovyShellFactory", groovyShellFactory);
+ registry.bind("groovyShellFactory", groovyShellFactory);
CamelContext camelContext = new DefaultCamelContext(registry);
// When