File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
backend/molgenis-emx2-sql/src/test/java/org/molgenis/emx2/sql Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ void autoIdGetsGeneratedWithPreFix() {
58
58
59
59
@ Test
60
60
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" );
63
63
64
64
Map <String , Object > output = convertRowToMap (columns , row );
65
65
66
66
assertAll (
67
- () -> assertEquals (1 , output .size ()),
67
+ () -> assertEquals (Set . of ( "sTRINGArray" ) , output .keySet ()),
68
68
() ->
69
- assertEquals (List .of ("aa" , "bb" ), Arrays .asList ((String []) output .get ("stringArray " ))));
69
+ assertEquals (List .of ("aa" , "bb" ), Arrays .asList ((String []) output .get ("sTRINGArray " ))));
70
70
}
71
71
}
You can’t perform that action at this time.
0 commit comments