Skip to content

Commit

Permalink
BSR
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Oct 18, 2024
1 parent 45e91a1 commit f8f3df9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/src/test/java/access/provision/scim/GroupURNTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ class GroupURNTest {

@Test
void sanitizeRoleShortName() {
assertEquals("expected_short_name_yep",
GroupURN.sanitizeRoleShortName("expected SHORT name &&^*&%&^* yep"));
String sanitizedRoleShortName = GroupURN.sanitizeRoleShortName("expected SHORT name &&^*&%&^* yep");
assertEquals("expected_short_name_yep", sanitizedRoleShortName);
//idempotency check
assertEquals("expected_short_name_yep", GroupURN.sanitizeRoleShortName(sanitizedRoleShortName));
}

@Test
Expand Down

0 comments on commit f8f3df9

Please sign in to comment.