mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added extra diagnostics to testAdminUser to find out why it fails in the build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -215,7 +215,8 @@ public class AuthorityServiceTest extends TestCase
|
||||
authenticationComponent.setCurrentUser(AuthenticationUtil.getAdminUserName());
|
||||
assertTrue(authorityService.hasAdminAuthority());
|
||||
assertTrue(pubAuthorityService.hasAdminAuthority());
|
||||
assertEquals(4, authorityService.getAuthorities().size());
|
||||
Set<String> authorities = authorityService.getAuthorities();
|
||||
assertEquals("Unexpected result: " + authorities, 4, authorityService.getAuthorities().size());
|
||||
}
|
||||
|
||||
public void testAuthorities()
|
||||
|
Reference in New Issue
Block a user