Fix checkstyle

This commit is contained in:
Madhura Bhave 2020-01-07 13:49:02 -08:00
parent 67fab60fbd
commit ac10ebba33
1 changed files with 3 additions and 3 deletions

View File

@ -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");
}