Skip to content

Commit 05e813b

Browse files
committed
Fix testPropertyValuesShouldTakePrecedenceWhenInlinedPropertiesPresentAndProfilesActive
1 parent cf6acc0 commit 05e813b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
* @author Stephane Nicoll
6161
* @author Scott Frederick
6262
* @author Madhura Bhave
63+
* @author Sijun Yang
6364
*/
6465
class SpringBootContextLoaderTests {
6566

@@ -310,7 +311,7 @@ static class MultipleActiveProfiles {
310311
}
311312

312313
@SpringBootTest(properties = { "key=myValue" }, classes = Config.class)
313-
@ActiveProfiles({ "profile1,2" })
314+
@ActiveProfiles({ "profile1" })
314315
static class ActiveProfileWithInlinedProperties {
315316

316317
}

0 commit comments

Comments
 (0)