Skip to content

Commit 180ccba

Browse files
committed
test: fix orientdb test
Signed-off-by: Otavio Santana <[email protected]>
1 parent 3e3b3ed commit 180ccba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jnosql-orientdb/src/test/java/org/eclipse/jnosql/databases/orientdb/mapping/OrientDBDocumentRepositoryProxyTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void shouldSaveUsingUpdate() {
116116
person.setName("Ada-2");
117117
person.setAge(10);
118118
person.setId("10");
119-
when(template.find(Person.class, 10L)).thenReturn(Optional.of(person));
119+
when(template.find(Person.class, "10")).thenReturn(Optional.of(person));
120120
humanRepository.save(person);
121121
verify(template).update(eq(person));
122122
}

0 commit comments

Comments
 (0)