Align test with change to exception in latest Framework snapshots
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user