Skip to content

Commit 2175fc1

Browse files
committed
Bumping versions
1 parent c1c741d commit 2175fc1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SpringCloudCircuitBreakerFilterFactoryTests.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,15 @@ public void filterStatusCodeResumeWithoutError() {
246246

247247
@Test
248248
public void filterPostFallback() {
249-
testClient.post().uri("/post").body(BodyInserters.fromValue("hello"))
250-
.header("Host", "www.circuitbreakerfallbackpost.org").exchange().expectStatus()
251-
.isOk().expectBody().json("{\"body\":\"hello\"}");
249+
testClient.post()
250+
.uri("/post")
251+
.body(BodyInserters.fromValue("hello"))
252+
.header("Host", "www.circuitbreakerfallbackpost.org")
253+
.exchange()
254+
.expectStatus()
255+
.isOk()
256+
.expectBody()
257+
.json("{\"body\":\"hello\"}");
252258
}
253259

254260
}

0 commit comments

Comments
 (0)