mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Align test with change to exception in latest Framework snapshots
This commit is contained in:
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…
Reference in New Issue
Block a user