mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
fix: GetPeoplePreferencesCoreTests#statusNotFoundIsReturnedForAPersonIDThatDoesNotExist
This commit is contained in:
@@ -43,7 +43,7 @@ public class GetPeoplePreferencesCoreTests extends RestTest
|
||||
restClient.authenticateUser(userModel).withCoreAPI().usingUser(new UserModel("invalidPersonID", "password"))
|
||||
.getPersonPreferenceInformation(PreferenceName.SITES_FAVORITES_PREFIX + siteModel.getId());
|
||||
restClient.assertStatusCodeIs(HttpStatus.NOT_FOUND);
|
||||
restClient.assertLastError().containsSummary("The entity with id: personId is null. was not found");
|
||||
restClient.assertLastError().containsSummary("The entity with id: invalidPersonID was not found");
|
||||
}
|
||||
|
||||
@TestRail(section = { TestGroup.REST_API, TestGroup.PEOPLE, TestGroup.PREFERENCES }, executionType = ExecutionType.REGRESSION,
|
||||
|
||||
Reference in New Issue
Block a user