Skip to content

Commit cf6acc0

Browse files
committed
Remove activeProfileWithComma
1 parent 16f87e5 commit cf6acc0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,6 @@ void multipleActiveProfiles() {
127127
assertThat(getActiveProfiles(MultipleActiveProfiles.class)).containsExactly("profile1", "profile2");
128128
}
129129

130-
@Test
131-
void activeProfileWithComma() {
132-
assertThat(getActiveProfiles(ActiveProfileWithComma.class)).containsExactly("profile1,2");
133-
}
134-
135130
@Test // gh-28776
136131
void testPropertyValuesShouldTakePrecedenceWhenInlinedPropertiesPresent() {
137132
TestContext context = new ExposedTestContextManager(SimpleConfig.class).getExposedTestContext();
@@ -314,12 +309,6 @@ static class MultipleActiveProfiles {
314309

315310
}
316311

317-
@SpringBootTest(classes = Config.class)
318-
@ActiveProfiles({ "profile1,2" })
319-
static class ActiveProfileWithComma {
320-
321-
}
322-
323312
@SpringBootTest(properties = { "key=myValue" }, classes = Config.class)
324313
@ActiveProfiles({ "profile1,2" })
325314
static class ActiveProfileWithInlinedProperties {

0 commit comments

Comments
 (0)