REPO-1835 Add displayName property to person representation -- fixed a test

This commit is contained in:
Andrei Zapodeanu
2019-03-04 11:59:35 +02:00
parent ddcba37bf2
commit fd11360ef8
@@ -40,7 +40,7 @@ public class GetPeopleFullTests extends RestTest
@TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE }, executionType = ExecutionType.REGRESSION, description = "Verify entry details for get person response with Rest API")
public void checkResponseSchemaForGetPerson() throws Exception
{
RestPersonModel newUser = RestPersonModel.getRandomPersonModel("aspectNames", "avatarId", "statusUpdatedAt");
RestPersonModel newUser = RestPersonModel.getRandomPersonModel("aspectNames", "avatarId", "statusUpdatedAt","displayName");
newUser = restClient.authenticateUser(adminUser).withCoreAPI().usingAuthUser().createPerson(newUser);
restClient.assertStatusCodeIs(HttpStatus.CREATED);