Align test with change to exception in latest Framework snapshots

pull/16224/head
Andy Wilkinson 6 years ago
parent 5a66dc8c6e
commit ae3ea186e2

@ -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

Loading…
Cancel
Save