aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/crud
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/onap/crud')
-rw-r--r--src/test/java/org/onap/crud/service/CrudRestServiceTest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/java/org/onap/crud/service/CrudRestServiceTest.java b/src/test/java/org/onap/crud/service/CrudRestServiceTest.java
index a4b4305..13cba11 100644
--- a/src/test/java/org/onap/crud/service/CrudRestServiceTest.java
+++ b/src/test/java/org/onap/crud/service/CrudRestServiceTest.java
@@ -42,8 +42,7 @@ import org.onap.crud.exception.CrudException;
import org.onap.crud.service.util.TestHeaders;
import org.onap.crud.service.util.TestRequest;
import org.onap.crud.service.util.TestUriInfo;
-import org.onap.schema.RelationshipSchemaLoader;
-
+import org.onap.schema.EdgeRulesLoader;
public class CrudRestServiceTest {
@@ -85,8 +84,7 @@ public class CrudRestServiceTest {
Path parentPath = resourcePath.getParent();
System.setProperty("CONFIG_HOME", parentPath.toString());
- RelationshipSchemaLoader.resetVersionContextMap();
-
+ EdgeRulesLoader.resetSchemaVersionContext ();
CrudGraphDataService service = new CrudGraphDataService(new TestDao());
CrudRestService restService = new CrudRestService(service, null);
mockService = Mockito.spy(restService);