Browse Source

Fix tests

See gh-13783
pull/13815/head
Madhura Bhave 8 years ago
parent
commit
e907ae605d
  1. 2
      spring-boot-project/spring-boot/src/test/java/org/springframework/boot/security/reactive/ApplicationContextServerWebExchangeMatcherTests.java

2
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/security/reactive/ApplicationContextServerWebExchangeMatcherTests.java

@ -91,7 +91,7 @@ public class ApplicationContextServerWebExchangeMatcherTests {
MockServerWebExchange exchange = MockServerWebExchange MockServerWebExchange exchange = MockServerWebExchange
.from(MockServerHttpRequest.get("/path").build()); .from(MockServerHttpRequest.get("/path").build());
this.thrown.expect(IllegalStateException.class); this.thrown.expect(IllegalStateException.class);
this.thrown.expectMessage("No WebApplicationContext found."); this.thrown.expectMessage("No ApplicationContext found.");
new TestApplicationContextServerWebExchangeMatcher<>(ExistingBean.class) new TestApplicationContextServerWebExchangeMatcher<>(ExistingBean.class)
.callMatchesAndReturnProvidedContext(exchange); .callMatchesAndReturnProvidedContext(exchange);
} }

Loading…
Cancel
Save