Skip to content

Commit 35e6a1c

Browse files
committed
test: fix asssertion target
1 parent c4a7280 commit 35e6a1c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/it/java/io/weaviate/integration/ORMITest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,10 @@ public void test_insertAndQuery() throws Exception {
225225
var inserted = things.data.insert(thing);
226226

227227
// Assert
228-
var got = things.query.byId(inserted.uuid());
229-
Assertions.assertThat(got).get()
228+
var response = things.query.byId(inserted.uuid());
229+
var got = Assertions.assertThat(response).get().actual();
230+
231+
Assertions.assertThat(got.properties())
230232
.usingRecursiveComparison(COMPARISON_CONFIG)
231233
.isEqualTo(thing);
232234
}

0 commit comments

Comments
 (0)