Skip to content

Commit

Permalink
make test work on German-localized Ubuntu
Browse files Browse the repository at this point in the history
I don't know if this will work, @DonMischo must test
  • Loading branch information
ArchibaldBienetre committed Jan 25, 2022
1 parent b4172d7 commit cf36060
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void onRenderPdfButtonClick_onMissingCsv_showsAlert(FxRobot robot) {
// https://stackoverflow.com/a/59152238/1143126
DialogPane dialogPane = assertAndLookUpAlert(robot);
assertThat(dialogPane.getHeaderText()).isEqualTo("Error");
assertThat(dialogPane.getContentText()).contains("does not exist");
assertThat(dialogPane.getContentText()).isIn("does not exist", "nicht gefunden");
assertThat(dialogPane.getContentText()).contains("CSV");
}

Expand All @@ -222,7 +222,7 @@ public void onRenderPdfButtonClick_onMissingTex_showsAlert(FxRobot robot) {
// https://stackoverflow.com/a/59152238/1143126
DialogPane dialogPane = assertAndLookUpAlert(robot);
assertThat(dialogPane.getHeaderText()).isEqualTo("Error");
assertThat(dialogPane.getContentText()).contains("does not exist");
assertThat(dialogPane.getContentText()).isIn("does not exist", "nicht gefunden");
assertThat(dialogPane.getContentText()).contains("TEX");
}

Expand Down

0 comments on commit cf36060

Please sign in to comment.