Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.

Commit 1a9d836

Browse files
committed
fixes GraphRepositoryProxyTest
1 parent 7e360c9 commit 1a9d836

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

artemis-graph/src/test/java/org/jnosql/artemis/graph/query/GraphRepositoryProxyTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import org.apache.tinkerpop.gremlin.structure.Graph;
1919
import org.apache.tinkerpop.gremlin.structure.T;
2020
import org.apache.tinkerpop.gremlin.structure.Vertex;
21+
import org.jnosql.artemis.Converters;
2122
import org.jnosql.artemis.Param;
2223
import org.jnosql.artemis.PreparedStatement;
2324
import org.jnosql.artemis.Query;
@@ -74,6 +75,9 @@ public class GraphRepositoryProxyTest {
7475
@Inject
7576
private GraphConverter converter;
7677

78+
@Inject
79+
private Converters converters;
80+
7781
@BeforeEach
7882
public void setUp() {
7983

@@ -84,7 +88,7 @@ public void setUp() {
8488
this.template = Mockito.mock(GraphTemplate.class);
8589

8690
GraphRepositoryProxy handler = new GraphRepositoryProxy(template,
87-
classRepresentations, PersonRepository.class, reflections, graph, converter);
91+
classRepresentations, PersonRepository.class, reflections, graph, converter, converters);
8892

8993
when(template.insert(any(Person.class))).thenReturn(Person.builder().build());
9094
when(template.update(any(Person.class))).thenReturn(Person.builder().build());

0 commit comments

Comments
 (0)