Skip to content

Commit

Permalink
1814 platform-component - fix test - refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbeslic committed Dec 4, 2024
1 parent ba0c9e7 commit 4b0ad04
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void testAuthorizationAuthorizationTypeIsApplicable() {
AuthorizationUtils.isApplicable(applicableValue), applicableValue + " is valid");
}

for (String nonApplicableValue : getRandomNonApplicableValues()) {
for (String nonApplicableValue : getNonApplicableValues()) {
Assertions.assertFalse(
AuthorizationUtils.isApplicable(nonApplicableValue), nonApplicableValue + " is valid");
}
Expand Down Expand Up @@ -82,7 +82,7 @@ private List<String> getRandomApplicableValues() {
return names;
}

private List<String> getRandomNonApplicableValues() {
private List<String> getNonApplicableValues() {
List<String> randomApplicableValues = getRandomApplicableValues();

List<String> nonApplicableValues = new ArrayList<>();
Expand Down

0 comments on commit 4b0ad04

Please sign in to comment.