remove sysout

This commit is contained in:
Loredana Crusoveanu 2018-05-08 22:05:59 +03:00
parent 08c0b590b0
commit 008054aa08
1 changed files with 0 additions and 3 deletions

View File

@ -87,8 +87,6 @@ public class SpringBootBootstrapIntegrationTest {
final Book book = createRandomBook(); final Book book = createRandomBook();
final String location = createBookAsUri(book); final String location = createBookAsUri(book);
System.out.println(location);
book.setId(Long.parseLong(location.split("api/books/")[1])); book.setId(Long.parseLong(location.split("api/books/")[1]));
book.setAuthor("newAuthor"); book.setAuthor("newAuthor");
Response response = RestAssured.given() Response response = RestAssured.given()
@ -130,7 +128,6 @@ public class SpringBootBootstrapIntegrationTest {
.contentType(MediaType.APPLICATION_JSON_VALUE) .contentType(MediaType.APPLICATION_JSON_VALUE)
.body(book) .body(book)
.post(API_ROOT); .post(API_ROOT);
System.out.println(response.asString());
return API_ROOT + "/" + response.jsonPath() return API_ROOT + "/" + response.jsonPath()
.get("id"); .get("id");
} }