mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-05 16:59:28 +00:00
Align test with change to exception in latest Framework snapshots
This commit is contained in:
+2
-2
@@ -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