diff --git a/repository/src/test/java/org/alfresco/repo/security/authority/AuthorityServiceTest.java b/repository/src/test/java/org/alfresco/repo/security/authority/AuthorityServiceTest.java index 956d8587fd..246135f6a4 100644 --- a/repository/src/test/java/org/alfresco/repo/security/authority/AuthorityServiceTest.java +++ b/repository/src/test/java/org/alfresco/repo/security/authority/AuthorityServiceTest.java @@ -1432,21 +1432,6 @@ public class AuthorityServiceTest extends TestCase assertEquals(pubAuthorityService.getAuthorityDisplayName("ROLE_Gibbon"), "Gibbon"); assertEquals(pubAuthorityService.getAuthorityDisplayName("Monkey"), "Monkey"); } - - @Test - public void testAuthorityDisplayNameAndDescription() - { - Map props = new HashMap<>(); - props.put(ContentModel.PROP_DESCRIPTION, "Test auth description"); - String testAuth = pubAuthorityService.createAuthority(AuthorityType.GROUP, "Test auth", props); - Pair displayNameAndDescription = pubAuthorityService.getAuthorityDisplayNameAndDescription(testAuth); - assertEquals(displayNameAndDescription.getFirst(), "Test auth"); - assertEquals(displayNameAndDescription.getSecond(), "Test auth description"); - pubAuthorityService.setAuthorityDisplayNameAndDescription(testAuth, "Modified auth", "Modified description"); - displayNameAndDescription = pubAuthorityService.getAuthorityDisplayNameAndDescription(testAuth); - assertEquals(displayNameAndDescription.getFirst(), "Modified auth"); - assertEquals(displayNameAndDescription.getSecond(), "Modified description"); - } public void testGetAuthoritiesFilteringSorting() {