summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java2
-rw-r--r--sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java
index 29bf02d26b..1faa5b2ca6 100644
--- a/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java
+++ b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunTestCase.java
@@ -44,7 +44,7 @@ public class RunTestCase {
@BeforeClass
public static void setUp() throws Exception {
final NodeFactory nf = NodeFactory.newInstance();
- node = nf.createNode(new Contribution("test", here()));
+ node = nf.createNode("test.composite", new Contribution("test", here()));
node.start();
}
diff --git a/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java
index 61133d0fbf..dcade6a818 100644
--- a/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java
+++ b/sca-java-2.x/trunk/samples/extending-tuscany/implementation-sample/src/test/java/sample/impl/RunWSTestCase.java
@@ -58,7 +58,7 @@ public class RunWSTestCase {
public static void setUp() throws Exception {
// Start test composite on a Tuscany node
final NodeFactory nf = NodeFactory.newInstance();
- node = nf.createNode(new Contribution("test", here()));
+ node = nf.createNode("test.composite", new Contribution("test", here()));
node.start();
// Mock up a test Web service on http://localhost:8086/wsupper