added a comment

This commit is contained in:
Mykhaylo
2020-03-24 10:41:37 +01:00
parent 56a5a0369e
commit 2e8fef4d71

View File

@@ -1529,6 +1529,8 @@ public class EPersonRestRepositoryIT extends AbstractControllerIntegrationTest {
context.restoreAuthSystemState();
String tokenEperson1 = getAuthToken(ePerson1.getEmail(), "qwerty01");
// by contract the groups embedded in the eperson only contains direct explicit membership,
// so the anonymous group is not listed
getClient(tokenEperson1).perform(get("/api/eperson/epersons/" + ePerson1.getID())
.param("projection", "full"))
.andExpect(status().isOk())