Skip to content

Commit 73a3367

Browse files
committed
minor test improvements
1 parent 39747f9 commit 73a3367

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

backend/molgenis-emx2-sql/src/test/java/org/molgenis/emx2/sql/TestSqlTypeUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ void autoIdGetsGeneratedWithPreFix() {
5858

5959
@Test
6060
void testArrayConversionToMap() {
61-
List<Column> columns = List.of(column("string array", ColumnType.STRING_ARRAY));
62-
Row row = row("string array", "aa,bb");
61+
List<Column> columns = List.of(column("STRING array", ColumnType.STRING_ARRAY));
62+
Row row = row("STRING array", "aa,bb");
6363

6464
Map<String, Object> output = convertRowToMap(columns, row);
6565

6666
assertAll(
67-
() -> assertEquals(1, output.size()),
67+
() -> assertEquals(Set.of("sTRINGArray"), output.keySet()),
6868
() ->
69-
assertEquals(List.of("aa", "bb"), Arrays.asList((String[]) output.get("stringArray"))));
69+
assertEquals(List.of("aa", "bb"), Arrays.asList((String[]) output.get("sTRINGArray"))));
7070
}
7171
}

0 commit comments

Comments
 (0)