Skip to content

Commit

Permalink
#354 make test more robust to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausRicharz committed Jul 3, 2024
1 parent f1133f1 commit 5f7a6e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void shouldReturnQueryParametersFromRequest(String sql,
var result = getParametersFromRequest(request, sql);

// then
assertThat(result).containsExactlyElementsOf(expected);
assertThat(result).containsExactlyInAnyOrderElementsOf(expected);
}

private static Stream<Arguments> missingParametersForQueries() {
Expand Down Expand Up @@ -124,6 +124,6 @@ public void shouldDetermineMissingQueryParameters(String sql, List<ReportParamet
var result = ExecuteReportAction.getMissingParameters(parameters, sql);

// then
assertThat(result).containsExactlyElementsOf(expected);
assertThat(result).containsExactlyInAnyOrderElementsOf(expected);
}
}

0 comments on commit 5f7a6e5

Please sign in to comment.