update indentation
This commit is contained in:
parent
b6ff723533
commit
0c055b7d31
|
@ -14,13 +14,14 @@ public class BookMocks {
|
|||
|
||||
public static void setupMockBooksResponse(WireMockServer mockService) throws IOException {
|
||||
mockService.stubFor(WireMock.get(WireMock.urlEqualTo("/books"))
|
||||
.willReturn(WireMock.aResponse()
|
||||
.withStatus(HttpStatus.OK.value())
|
||||
.withHeader("Content-Type", MediaType.APPLICATION_JSON_VALUE)
|
||||
.withBody(
|
||||
copyToString(
|
||||
BookMocks.class.getClassLoader().getResourceAsStream("payload/get-books-response.json"),
|
||||
defaultCharset()))));
|
||||
.willReturn(
|
||||
WireMock.aResponse()
|
||||
.withStatus(HttpStatus.OK.value())
|
||||
.withHeader("Content-Type", MediaType.APPLICATION_JSON_VALUE)
|
||||
.withBody(
|
||||
copyToString(
|
||||
BookMocks.class.getClassLoader().getResourceAsStream("payload/get-books-response.json"),
|
||||
defaultCharset()))));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue