Skip to content

Commit b334d82

Browse files
committed
tests(integration): fix Book's updateEdition method
Signed-off-by: Maximillian Arruda <[email protected]>
1 parent 7326543 commit b334d82

File tree

1 file changed

+1
-1
lines changed
  • jnosql-elasticsearch/src/test/java/org/eclipse/jnosql/databases/elasticsearch/integration

1 file changed

+1
-1
lines changed

jnosql-elasticsearch/src/test/java/org/eclipse/jnosql/databases/elasticsearch/integration/Book.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public Book newEdition() {
5353
public Book updateEdition(int edition) {
5454
return new Book(this.id,
5555
this.title,
56-
this.edition + 1,
56+
edition,
5757
this.author);
5858
}
5959

0 commit comments

Comments
 (0)