diff options
author | 2023-01-11 19:19:05 +0000 | |
---|---|---|
committer | 2023-01-17 10:44:23 +0000 | |
commit | 035ad742f60bdb375ee4e2da4345d404949a19b4 (patch) | |
tree | 7d40e43a0d6422036403cf1f0d3bbfd3248fa61a /catalog-be/src/test/java/org | |
parent | c29a4519545ff509c038c9a19781ef210b2ee14f (diff) |
Improve test coverage
- extract duplicated code
- remove redundant and unused code
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I7ae3592951f53bbebf10a80f7cce22d54b2940b6
Issue-ID: SDC-4317
Diffstat (limited to 'catalog-be/src/test/java/org')
-rw-r--r-- | catalog-be/src/test/java/org/openecomp/sdc/be/components/path/utils/GraphTestUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/path/utils/GraphTestUtils.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/path/utils/GraphTestUtils.java index 0c1399bc51..66c5510591 100644 --- a/catalog-be/src/test/java/org/openecomp/sdc/be/components/path/utils/GraphTestUtils.java +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/path/utils/GraphTestUtils.java @@ -102,7 +102,7 @@ public final class GraphTestUtils { } public static void clearGraph(JanusGraphDao janusGraphDao) { - Either<JanusGraph, JanusGraphOperationStatus> graphResult = janusGraphDao.getGraph(); + Either<JanusGraph, JanusGraphOperationStatus> graphResult = janusGraphDao.getJanusGraphClient().getGraph(); JanusGraph graph = graphResult.left().value(); Iterable<JanusGraphVertex> vertices = graph.query().vertices(); |