Skip to content

Commit b852e2e

Browse files
committed
minor cleanup
1 parent ad21e99 commit b852e2e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/java/org/baeldung

‎spring-cloud/spring-cloud-rest/spring-cloud-rest-client-2/src/test/java/org/baeldung/RestApiLiveTest.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void whenGetCreatedReviewById_thenOK() {
4949
}
5050

5151
@Test
52-
public void whenGetCreatedReviewByName_thenOK() {
52+
public void whenGetCreatedReviewByBookId_thenOK() {
5353
final BookReview review = createRandomReview();
5454
createReviewAsUri(review);
5555

@@ -66,7 +66,7 @@ public void whenGetNotExistReviewById_thenNotFound() {
6666
}
6767

6868
@Test
69-
public void whenGetNotExistReviewByName_thenNotFound() {
69+
public void whenGetNotExistReviewByBookId_thenNotFound() {
7070
final Response response = RestAssured.get(API_URI + "/search/findByBookId?bookId=" + randomNumeric(4));
7171
assertEquals(HttpStatus.OK.value(), response.getStatusCode());
7272
assertTrue(response.jsonPath()
@@ -86,7 +86,7 @@ public void whenCreateNewReview_thenCreated() {
8686
}
8787

8888
@Test
89-
public void whenInvalidReview_thenError() {
89+
public void whenCreateInvalidReview_thenError() {
9090
final BookReview review = createRandomReview();
9191
review.setBookId(null);
9292

0 commit comments

Comments
 (0)