Skip to content

Commit caaafa2

Browse files
committed
DATAMONGO-2643 - Adopt to AssertJ API changes.
1 parent 1f082ab commit caaafa2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/convert/MappingMongoConverterUnitTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,8 +1884,7 @@ void readsNestedArraysCorrectly() {
18841884

18851885
WithNestedLists result = converter.read(WithNestedLists.class, document);
18861886

1887-
assertThat(result.nestedFloats).hasSize(1);
1888-
assertThat(result.nestedFloats).isEqualTo(new float[][][] { { { 1.0f, 2.0f } } });
1887+
assertThat(result.nestedFloats).hasDimensions(1, 1).isEqualTo(new float[][][] { { { 1.0f, 2.0f } } });
18891888
}
18901889

18911890
@Test // DATAMONGO-1992

0 commit comments

Comments
 (0)