Skip to content

Commit f00b829

Browse files
committed
Test for #571
1 parent bedb727 commit f00b829

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/src/test/java/invite/provision/scim/GroupURNTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ void sanitizeRoleShortName() {
1515
assertEquals("expected_short_name_yep", sanitizedRoleShortName);
1616
//idempotency check
1717
assertEquals("expected_short_name_yep", GroupURN.sanitizeRoleShortName(sanitizedRoleShortName));
18+
19+
String sanitizedName = GroupURN.sanitizeRoleShortName("request/path &^");
20+
assertEquals("request/path", sanitizedName);
1821
}
1922

2023
@Test

0 commit comments

Comments
 (0)