mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.0 to HEAD
12757: Build fix for SiteServiceImplTest git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12758 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -537,17 +537,6 @@ public class SiteServiceImplTest extends BaseAlfrescoSpringTest
|
||||
this.siteService.setMembership("testMembershipPrivate", USER_TWO, SiteModel.SITE_CONSUMER);
|
||||
this.authenticationComponent.setCurrentUser(USER_TWO);
|
||||
|
||||
// try and remove user two permissions from private site
|
||||
try
|
||||
{
|
||||
this.siteService.removeMembership("testMembershipPrivate", USER_TWO);
|
||||
fail("Cannot remove a users permissions from a private site");
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
// Ignore because as expected
|
||||
}
|
||||
|
||||
// Try and remove user threes membership from public site
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user