Skip to content

Commit 74e6851

Browse files
committed
Merge branch '3.5.x'
Closes gh-46258
2 parents 381706f + 573ad34 commit 74e6851

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@
159159
* @author Tadaya Tsuyukubo
160160
* @author Yanming Zhou
161161
* @author Sijun Yang
162+
* @author Giheon Do
162163
*/
163164
@ExtendWith(OutputCaptureExtension.class)
164165
class SpringApplicationTests {
@@ -1369,7 +1370,7 @@ void fromRunsWithAdditionalSources() {
13691370
.run()
13701371
.getApplicationContext();
13711372
assertThat(ExampleAdditionalConfig.local.get()).isNotNull();
1372-
ExampleAdditionalConfig.local.set(null);
1373+
ExampleAdditionalConfig.local.remove();
13731374
}
13741375

13751376
@Test

0 commit comments

Comments
 (0)