diff options
Diffstat (limited to 'src/test/java/org/onap/aai/migration/v12/MigrateINVPhysicalInventoryMethodTest.java')
-rw-r--r-- | src/test/java/org/onap/aai/migration/v12/MigrateINVPhysicalInventoryMethodTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/onap/aai/migration/v12/MigrateINVPhysicalInventoryMethodTest.java b/src/test/java/org/onap/aai/migration/v12/MigrateINVPhysicalInventoryMethodTest.java index 2b2a61d..005517a 100644 --- a/src/test/java/org/onap/aai/migration/v12/MigrateINVPhysicalInventoryMethodTest.java +++ b/src/test/java/org/onap/aai/migration/v12/MigrateINVPhysicalInventoryMethodTest.java @@ -77,7 +77,7 @@ public class MigrateINVPhysicalInventoryMethodTest extends AAISetup { TransactionalGraphEngine.Admin adminSpy = spy(dbEngine.asAdmin()); GraphTraversalSource traversal = g; - GraphTraversalSource readOnly = tx.traversal(GraphTraversalSource.build().with(ReadOnlyStrategy.instance())); + GraphTraversalSource readOnly = graph.traversal().withStrategies(ReadOnlyStrategy.instance()); when (spy.tx()).thenReturn(tx); when(spy.asAdmin()).thenReturn(adminSpy); when(adminSpy.getTraversalSource()).thenReturn(traversal); |