Commit ae3ea186 authored by Andy Wilkinson's avatar Andy Wilkinson

Align test with change to exception in latest Framework snapshots

parent 5a66dc8c
......@@ -185,9 +185,9 @@ public class SpringApplicationTests {
@Test
public void sourcesMustBeAccessible() {
assertThatIllegalStateException().isThrownBy(
assertThatIllegalArgumentException().isThrownBy(
() -> new SpringApplication(InaccessibleConfiguration.class).run())
.withMessageContaining("Cannot load configuration");
.withMessageContaining("No visible constructors");
}
@Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment