diff --git a/spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootContextLoaderTests.java b/spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootContextLoaderTests.java index 602d4192b8f..9e1796b7999 100644 --- a/spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootContextLoaderTests.java +++ b/spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootContextLoaderTests.java @@ -92,19 +92,19 @@ class SpringBootContextLoaderTests { } @Test - public void noActiveProfiles() { + void noActiveProfiles() { Environment environment = getApplicationEnvironment(SimpleConfig.class); assertThat(environment.getActiveProfiles()).isEmpty(); } @Test - public void multipleActiveProfiles() { + void multipleActiveProfiles() { Environment environment = getApplicationEnvironment(MultipleActiveProfiles.class); assertThat(environment.getActiveProfiles()).containsExactly("profile1", "profile2"); } @Test - public void activeProfileWithComma() { + void activeProfileWithComma() { Environment environment = getApplicationEnvironment(ActiveProfileWithComma.class); assertThat(environment.getActiveProfiles()).containsExactly("profile1,2"); }