From 09601653d5b8b49975884632b5d4ebe71664ac9d Mon Sep 17 00:00:00 2001 From: fteychene Date: Mon, 23 Nov 2020 00:26:23 +0100 Subject: [PATCH] fix: ReactiveElasticDsl tests were defining unrealistic values --- .../fu/jafu/elasticsearch/ReactiveElasticSearchDslTest.java | 2 +- .../fu/kofu/elasticsearch/ReactiveElasticSearchDslTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jafu/src/test/java/org/springframework/fu/jafu/elasticsearch/ReactiveElasticSearchDslTest.java b/jafu/src/test/java/org/springframework/fu/jafu/elasticsearch/ReactiveElasticSearchDslTest.java index a2e963105..ef329c2c3 100644 --- a/jafu/src/test/java/org/springframework/fu/jafu/elasticsearch/ReactiveElasticSearchDslTest.java +++ b/jafu/src/test/java/org/springframework/fu/jafu/elasticsearch/ReactiveElasticSearchDslTest.java @@ -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())) diff --git a/kofu/src/test/kotlin/org/springframework/fu/kofu/elasticsearch/ReactiveElasticSearchDslTest.kt b/kofu/src/test/kotlin/org/springframework/fu/kofu/elasticsearch/ReactiveElasticSearchDslTest.kt index cad5cfdde..621768558 100644 --- a/kofu/src/test/kotlin/org/springframework/fu/kofu/elasticsearch/ReactiveElasticSearchDslTest.kt +++ b/kofu/src/test/kotlin/org/springframework/fu/kofu/elasticsearch/ReactiveElasticSearchDslTest.kt @@ -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))