minor cleanup

This commit is contained in:
DOHA 2017-01-29 13:41:29 +02:00
parent ad21e99e8e
commit b852e2edcc
1 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ public class RestApiLiveTest {
}
@Test
public void whenGetCreatedReviewByName_thenOK() {
public void whenGetCreatedReviewByBookId_thenOK() {
final BookReview review = createRandomReview();
createReviewAsUri(review);
@ -66,7 +66,7 @@ public class RestApiLiveTest {
}
@Test
public void whenGetNotExistReviewByName_thenNotFound() {
public void whenGetNotExistReviewByBookId_thenNotFound() {
final Response response = RestAssured.get(API_URI + "/search/findByBookId?bookId=" + randomNumeric(4));
assertEquals(HttpStatus.OK.value(), response.getStatusCode());
assertTrue(response.jsonPath()
@ -86,7 +86,7 @@ public class RestApiLiveTest {
}
@Test
public void whenInvalidReview_thenError() {
public void whenCreateInvalidReview_thenError() {
final BookReview review = createRandomReview();
review.setBookId(null);