Fix junit test 25/32225/1
authorSotiropoulos, Ioannis (is948x) <ioannis.sotiropoulos@amdocs.com>
Tue, 20 Feb 2018 09:47:41 +0000 (09:47 +0000)
committerSotiropoulos, Ioannis (is948x) <ioannis.sotiropoulos@amdocs.com>
Tue, 20 Feb 2018 09:56:11 +0000 (09:56 +0000)
The relation type wasn't present in the DbEdgeRules file.

Issue-ID: AAI-780
Change-Id: I1fbcc2b53d9df62b0339605d94ba628f4abd7146
Signed-off-by: Sotiropoulos, Ioannis (is948x) <ioannis.sotiropoulos@amdocs.com>
src/test/java/org/onap/schema/RelationshipSchemaLoaderTest.java

index 0c62162..a2b9956 100644 (file)
@@ -41,7 +41,7 @@ public class RelationshipSchemaLoaderTest {
         RelationshipSchemaLoader.loadModels("v11");
         String version = RelationshipSchemaLoader.getLatestSchemaVersion();
         RelationshipSchema g = RelationshipSchemaLoader.getSchemaForVersion(version);
-        assertNotNull(g.lookupRelationType("org.onap.relationships.inventory.BelongsTo"));
+        assertNotNull(g.lookupRelationType("isMemberOf"));
     }
 
     @Test