w2p-80200 Tests for no force export and fix to spy on authorize service

This commit is contained in:
Nathan Buckingham
2021-09-07 16:33:32 -04:00
parent 85cbd4b31f
commit 829fc7d112
4 changed files with 58 additions and 22 deletions

View File

@@ -412,11 +412,8 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
authorizeService.authorizeAction(context, parentCommunity, Constants.ADD);
Community c;
if (uuid != null) {
c = create(parentCommunity, context, handle, uuid);
} else {
c = create(parentCommunity, context, handle);
}
c = create(parentCommunity, context, handle, uuid);
addSubcommunity(context, parentCommunity, c);
return c;