Skip to content

Commit b504b3c

Browse files
committed
feat: update repository integration
Signed-off-by: Otavio Santana <[email protected]>
1 parent 21de6ea commit b504b3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public void shouldFindByAuthorName() throws InterruptedException {
160160
Author joshuaBloch = new Author("Joshua Bloch");
161161
Book book = new Book(randomUUID().toString(), "Effective Java", 1, joshuaBloch);
162162

163-
Set<Book> expectedBooks = Set.of(book, book.newEdition(), book.newEdition());
163+
List<Book> expectedBooks = List.of(book, book.newEdition(), book.newEdition());
164164
library.saveAll(expectedBooks);
165165

166166
await().until(() ->
@@ -185,9 +185,9 @@ public void shouldFindByTitleLike() throws InterruptedException {
185185
Author elderMoraes = new Author("Elder Moraes");
186186
Book jakartaEECookBook = new Book(randomUUID().toString(), "Jakarta EE CookBook", 1, elderMoraes);
187187

188-
Set<Book> allBooks = Set.of(jakartaEECookBook, effectiveJava1stEdition, effectiveJava2ndEdition, effectiveJava3rdEdition);
188+
List<Book> allBooks = List.of(jakartaEECookBook, effectiveJava1stEdition, effectiveJava2ndEdition, effectiveJava3rdEdition);
189189

190-
Set<Book> effectiveBooks = Set.of(effectiveJava1stEdition, effectiveJava2ndEdition, effectiveJava3rdEdition);
190+
List<Book> effectiveBooks = List.of(effectiveJava1stEdition, effectiveJava2ndEdition, effectiveJava3rdEdition);
191191

192192
library.saveAll(allBooks);
193193

0 commit comments

Comments
 (0)