summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/DirectoryDomainTestCase.java2
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/test/resources/test-domains/MyDomain/domain.properties1
2 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/DirectoryDomainTestCase.java b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/DirectoryDomainTestCase.java
index 0a6d148957..fb863402c6 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/DirectoryDomainTestCase.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/test/java/org/apache/tuscany/sca/impl/DirectoryDomainTestCase.java
@@ -53,7 +53,7 @@ public class DirectoryDomainTestCase {
public void testMyDomain() throws NoSuchServiceException, NoSuchDomainException, ContributionReadException, ActivationException, ValidationException, XMLStreamException, IOException {
Node node = TuscanyRuntime.newInstance().createNode(new File("src/test/resources/test-domains/MyDomain"));
- Assert.assertEquals("MyDomain", node.getDomainName());
+ Assert.assertEquals("foo", node.getDomainName());
Assert.assertEquals(1, node.getInstalledContributionURIs().size());
Assert.assertEquals("helloworld-contribution", node.getInstalledContributionURIs().get(0));
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/test/resources/test-domains/MyDomain/domain.properties b/sca-java-2.x/trunk/modules/domain-node/src/test/resources/test-domains/MyDomain/domain.properties
new file mode 100644
index 0000000000..391414448e
--- /dev/null
+++ b/sca-java-2.x/trunk/modules/domain-node/src/test/resources/test-domains/MyDomain/domain.properties
@@ -0,0 +1 @@
+domainName=foo