Bumping versions
This commit is contained in:
@@ -246,9 +246,15 @@ public abstract class SpringCloudCircuitBreakerFilterFactoryTests extends BaseWe
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void filterPostFallback() {
|
public void filterPostFallback() {
|
||||||
testClient.post().uri("/post").body(BodyInserters.fromValue("hello"))
|
testClient.post()
|
||||||
.header("Host", "www.circuitbreakerfallbackpost.org").exchange().expectStatus()
|
.uri("/post")
|
||||||
.isOk().expectBody().json("{\"body\":\"hello\"}");
|
.body(BodyInserters.fromValue("hello"))
|
||||||
|
.header("Host", "www.circuitbreakerfallbackpost.org")
|
||||||
|
.exchange()
|
||||||
|
.expectStatus()
|
||||||
|
.isOk()
|
||||||
|
.expectBody()
|
||||||
|
.json("{\"body\":\"hello\"}");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user