You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/TokenRelayGatewayFilterFactoryTests.java
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,11 @@ public void whenPrincipalExistsAuthorizationHeaderAdded() {
Copy file name to clipboardExpand all lines: spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyRequestBodyGatewayFilterFactoryTests.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -86,10 +86,10 @@ public void modifyRequestBodyToLarge() {
86
86
.body(BodyInserters.fromValue("request"))
87
87
.exchange()
88
88
.expectStatus()
89
-
.isEqualTo(HttpStatus.INTERNAL_SERVER_ERROR)
89
+
.isEqualTo(HttpStatus.PAYLOAD_TOO_LARGE)
90
90
.expectBody()
91
-
.jsonPath("message")
92
-
.isEqualTo("Exceeded limit on max bytes to buffer : 13");
Copy file name to clipboardExpand all lines: spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/rewrite/ModifyResponseBodyGatewayFilterFactoryTests.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -87,18 +87,18 @@ public void testModificationOfContentType() {
0 commit comments