File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/test/java/fr/pilato/test/elasticsearch/hlclient Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 7070
7171import java .io .IOException ;
7272import java .io .InputStream ;
73- import java .io .Reader ;
7473import java .io .StringReader ;
7574import java .nio .charset .StandardCharsets ;
7675import java .sql .ResultSet ;
@@ -207,7 +206,7 @@ void getDocument() throws IOException {
207206 final Map <String , Object > result = mapper .convertValue (getResponse .source (), new TypeReference <>() {});
208207 assertAll (
209208 () -> assertTrue (result .containsKey ("foo" )),
210- () -> assertEquals (result .get ("foo" ), "bar" ),
209+ () -> assertEquals ("bar" , result .get ("foo" )),
211210 () -> assertTrue (result .containsKey ("application_id" )),
212211 () -> assertEquals (6 , result .get ("application_id" ))
213212 );
You can’t perform that action at this time.
0 commit comments