Skip to content

Instantly share code, notes, and snippets.

@ermakovpetr
Last active August 29, 2015 14:06
Show Gist options
  • Save ermakovpetr/ff6560313e52ff22d771 to your computer and use it in GitHub Desktop.
Save ermakovpetr/ff6560313e52ff22d771 to your computer and use it in GitHub Desktop.
long topicId = getFixtureUtils().inviteApplicant(vacancy, resume, "Приглаша")
for (int i = 0; i < limitOfMessagesAtRow; i++) {
response = ApiRequests.createPost("/negotiations/" + topicId + "/messages");
.setEntity(Pair.of("message", message)).execute(getApplicantAuth());
Assert.assertEquals(response.getStatusLine().getStatusCode(), 201,
"Первые 5 сообщений должны быть отправлены в штатном режиме с возвращ");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment