Skip to content

Commit

Permalink
fix: ReactiveElasticDsl tests were defining unrealistic values
Browse files Browse the repository at this point in the history
  • Loading branch information
fteychene committed Nov 22, 2020
1 parent 7144636 commit 0960165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void enableReactiveElasticSearch() throws IOException {
assertNotNull(reactiveClient);

var request = new IndexRequest("spring-data")
.source(Collections.singletonMap("feature", "high-level-rest-client"));
.source(Collections.singletonMap("feature", "reactive-client"));
StepVerifier
.create(reactiveClient.index(request))
.assertNext(next -> assertEquals(RestStatus.CREATED, next.status()))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ReactiveElasticSearchDslTest {
Assertions.assertNotNull(reactiveClient)

val request: IndexRequest = IndexRequest("spring-data")
.source(singletonMap("feature", "high-level-rest-client"))
.source(singletonMap("feature", "reactive-client"))

StepVerifier
.create(reactiveClient.index(request))
Expand Down

0 comments on commit 0960165

Please sign in to comment.