File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
src/test/java/com/meilisearch/sdk Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -366,21 +366,6 @@ void toStringEveryParametersWithArrayMatchingStrategyNull() {
366366 assertThat (classToTest .toString (), is (equalTo (expectedToString )));
367367 }
368368
369- @ Test
370- void toStringWithHybrid () {
371- Hybrid hybrid = Hybrid .builder ().semanticRatio (0.5 ).embedder ("default" ).build ();
372-
373- SearchRequest classToTest = new SearchRequest ("This is a Test" ).setHybrid (hybrid );
374-
375- String expected =
376- "{\" q\" :\" This is a Test\" ,\" hybrid\" :{\" semanticRatio\" :0.5,\" embedder\" :\" default\" }}" ;
377- assertThat (classToTest .toString (), is (equalTo (expected )));
378-
379- // Verify getters
380- assertThat (classToTest .getHybrid ().getSemanticRatio (), is (equalTo (0.5 )));
381- assertThat (classToTest .getHybrid ().getEmbedder (), is (equalTo ("default" )));
382- }
383-
384369 @ Test
385370 void toStringWithHybridUsingBuilder () {
386371 SearchRequest classToTest =
You can’t perform that action at this time.
0 commit comments