Merged mward/repo-1600-zonesfilter (5.2.1) to 5.2.N (5.2.1)

134681 mward: REPO-1600: unknown zone results in 404


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2017-01-30 09:58:52 +00:00
parent 90123678f5
commit 7a8c4c9688
2 changed files with 13 additions and 1 deletions

View File

@@ -435,6 +435,10 @@ public class GroupsTest extends AbstractSingleNetworkSiteTest
// "A series of unfortunate errors"
otherParams.put("where", "(zones in ('', 'APP.DEFAULT', '', 'APITEST.MYZONE'))");
getGroups(paging, otherParams, "Incorrect response", 400);
// A zone that isn't in use or doesn't exist
otherParams.put("where", "(zones in ('NON.EXISTENT'))");
getGroups(paging, otherParams, "Incorrect response", 404);
}
}