Skip to content

Commit e37dd4a

Browse files
committed
BAEL-9041 fixed formatting
1 parent 9b743a9 commit e37dd4a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎testing-modules/rest-assured/src/test/java/com/baeldung/restassured/RestAssured2IntegrationTest.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static void before() throws Exception {
3131
configureFor("localhost", PORT);
3232
RestAssured.port = PORT;
3333
stubFor(get(urlEqualTo(EVENTS_PATH)).willReturn(
34-
aResponse().withStatus(200)
34+
aResponse().withStatus(200)
3535
.withHeader("Content-Type", APPLICATION_JSON)
3636
.withBody(ODDS)));
3737
stubFor(post(urlEqualTo("/odds/new"))
@@ -42,7 +42,7 @@ public static void before() throws Exception {
4242
@Test
4343
public void givenUrl_whenVerifiesOddPricesAccuratelyByStatus_thenCorrect() {
4444
get("/odds").then().body("odds.findAll { it.status > 0 }.price",
45-
hasItems(5.25f, 1.2f));
45+
hasItems(5.25f, 1.2f));
4646
}
4747

4848
@Test
@@ -56,7 +56,7 @@ public void whenRequestedPost_thenCreated() {
5656

5757
private static String getJson() {
5858
return Util.inputStreamToString(RestAssured2IntegrationTest.class
59-
.getResourceAsStream("/odds.json"));
59+
.getResourceAsStream("/odds.json"));
6060
}
6161

6262
@AfterClass

0 commit comments

Comments
 (0)