File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/it/java/io/weaviate/integration Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -607,12 +607,11 @@ public void testGenerative_bm25() throws IOException {
607607 .as ("individual results" )
608608 .hasSize (2 )
609609 .allSatisfy (obj -> {
610- Assertions .assertThat (obj . uuid ()) .as ("uuid shorthand" ). isNotBlank ( )
611- . isEqualTo (obj .metadata (). uuid ());
612- Assertions .assertThat (obj . vectors ()) .as ("vectors shorthand" ). isNotNull ( )
613- . isEqualTo (obj .metadata (). vectors ());
610+ Assertions .assertThat (obj ) .as ("uuid shorthand" )
611+ . returns (obj .uuid (), GenerativeObject :: uuid );
612+ Assertions .assertThat (obj ) .as ("vectors shorthand" )
613+ . returns (obj .vectors (), GenerativeObject :: vectors );
614614 })
615- // **END SHORTHAND TESTS**
616615 .extracting (GenerativeObject ::generative )
617616 .allSatisfy (generated -> {
618617 Assertions .assertThat (generated .text ()).isNotBlank ();
You can’t perform that action at this time.
0 commit comments