Skip to content

Commit 6944e52

Browse files
committed
Merge branch '2.2.x'
2 parents c82d728 + ac10ebb commit 6944e52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootContextLoaderTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,19 @@ void environmentPropertiesNewLineInValue() {
9292
}
9393

9494
@Test
95-
public void noActiveProfiles() {
95+
void noActiveProfiles() {
9696
Environment environment = getApplicationEnvironment(SimpleConfig.class);
9797
assertThat(environment.getActiveProfiles()).isEmpty();
9898
}
9999

100100
@Test
101-
public void multipleActiveProfiles() {
101+
void multipleActiveProfiles() {
102102
Environment environment = getApplicationEnvironment(MultipleActiveProfiles.class);
103103
assertThat(environment.getActiveProfiles()).containsExactly("profile1", "profile2");
104104
}
105105

106106
@Test
107-
public void activeProfileWithComma() {
107+
void activeProfileWithComma() {
108108
Environment environment = getApplicationEnvironment(ActiveProfileWithComma.class);
109109
assertThat(environment.getActiveProfiles()).containsExactly("profile1,2");
110110
}

0 commit comments

Comments
 (0)