summaryrefslogtreecommitdiffstats
path: root/sandbox/slaws/bank-challenge
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/slaws/bank-challenge')
-rw-r--r--sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java b/sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java
index c3c2f1391e..fbf8456054 100644
--- a/sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java
+++ b/sandbox/slaws/bank-challenge/bank-contribution/src/test/java/test/BankTestCase.java
@@ -20,6 +20,7 @@ package test;
import static org.junit.Assert.assertEquals;
+import org.apache.tuscany.sca.node.Contribution;
import org.apache.tuscany.sca.node.Node;
import org.apache.tuscany.sca.node.NodeFactory;
import org.junit.AfterClass;
@@ -38,7 +39,8 @@ public class BankTestCase{
@BeforeClass
public static void setUpBeforeClass() throws Exception {
- node = NodeFactory.newInstance().createNode((String)null, new String[] {"target/classes"});
+ node = NodeFactory.newInstance().createNode(new Contribution("Bank", "../bank-contribution/target/classes"),
+ new Contribution("Common", "../common-contribution/target/classes"));
node.start();
bankService = node.getService(BankService.class, "BankServiceComponent/BankService");
}