mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Validate person field when using properties
This commit is contained in:
@@ -185,7 +185,8 @@ public class GetSiteMemberFullTests extends RestTest
|
||||
.withCoreAPI().usingSite(siteModel).usingParams("properties=id").getSiteMember(consumer)
|
||||
.assertThat().fieldsCount().is(1)
|
||||
.and().field("id").isNotEmpty()
|
||||
.and().field("role").isNull();
|
||||
.and().field("role").isNull()
|
||||
.and().field("person").isNull();
|
||||
restClient.assertStatusCodeIs(HttpStatus.OK);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user