Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LoayGhreeb committed Aug 4, 2024
1 parent 50ae791 commit b289c91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void restoreColumnVariablesForBackwardCompatibility() {
List<String> columnNames = Arrays.asList("entrytype", "author/editor", "title", "year", "journal/booktitle", "citationkey", "printed");
List<String> columnWidths = Arrays.asList("100", "100", "100", "100", "100", "100", "100");

when(prefs.getStringList(JabRefPreferences.COLUMN_NAMES)).thenReturn(updatedNames);
when(prefs.getStringList("columnNames")).thenReturn(updatedNames);

when(prefs.get(JabRefPreferences.MAIN_FONT_SIZE)).thenReturn("11.2");

Expand Down

0 comments on commit b289c91

Please sign in to comment.