From: Sotiropoulos, Ioannis (is948x) Date: Tue, 20 Feb 2018 09:47:41 +0000 (+0000) Subject: Fix junit test X-Git-Tag: 2.0.0-ONAP~23 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fgizmo.git;a=commitdiff_plain;h=4201bd18a0f676121f066670f82be124f9508657 Fix junit test The relation type wasn't present in the DbEdgeRules file. Issue-ID: AAI-780 Change-Id: I1fbcc2b53d9df62b0339605d94ba628f4abd7146 Signed-off-by: Sotiropoulos, Ioannis (is948x) --- diff --git a/src/test/java/org/onap/schema/RelationshipSchemaLoaderTest.java b/src/test/java/org/onap/schema/RelationshipSchemaLoaderTest.java index 0c62162..a2b9956 100644 --- a/src/test/java/org/onap/schema/RelationshipSchemaLoaderTest.java +++ b/src/test/java/org/onap/schema/RelationshipSchemaLoaderTest.java @@ -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