Fix checkstyle
This commit is contained in:
parent
67fab60fbd
commit
ac10ebba33
|
|
@ -92,19 +92,19 @@ class SpringBootContextLoaderTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void noActiveProfiles() {
|
void noActiveProfiles() {
|
||||||
Environment environment = getApplicationEnvironment(SimpleConfig.class);
|
Environment environment = getApplicationEnvironment(SimpleConfig.class);
|
||||||
assertThat(environment.getActiveProfiles()).isEmpty();
|
assertThat(environment.getActiveProfiles()).isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void multipleActiveProfiles() {
|
void multipleActiveProfiles() {
|
||||||
Environment environment = getApplicationEnvironment(MultipleActiveProfiles.class);
|
Environment environment = getApplicationEnvironment(MultipleActiveProfiles.class);
|
||||||
assertThat(environment.getActiveProfiles()).containsExactly("profile1", "profile2");
|
assertThat(environment.getActiveProfiles()).containsExactly("profile1", "profile2");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void activeProfileWithComma() {
|
void activeProfileWithComma() {
|
||||||
Environment environment = getApplicationEnvironment(ActiveProfileWithComma.class);
|
Environment environment = getApplicationEnvironment(ActiveProfileWithComma.class);
|
||||||
assertThat(environment.getActiveProfiles()).containsExactly("profile1,2");
|
assertThat(environment.getActiveProfiles()).containsExactly("profile1,2");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue