HttpStatusServerAccessDeniedHandler write error message

This commit is contained in:
Rob Winch
2017-10-28 21:44:46 -05:00
parent 77acb34bcd
commit 192776858d
3 changed files with 21 additions and 9 deletions

View File

@@ -72,8 +72,7 @@ public class HelloWebfluxMethodApplicationITests {
.uri("/message")
.attributes(robsCredentials())
.exchange()
.expectStatus().isEqualTo(HttpStatus.FORBIDDEN)
.expectBody().isEmpty();
.expectStatus().isEqualTo(HttpStatus.FORBIDDEN);
}
@Test