Skip to content

Commit db21bcd

Browse files
committed
Make SpringApplicationConfiguration use SpringApplicationContextLoader
The intention in 1.4 is for the deprecated testing functionality to behave exactly as it did in 1.3. To help with this, this commit updates SpringApplicationConfiguration to use SpringApplicationContextLoader as its loader, just as it did in 1.3. Closes gh-5882
1 parent 5d21770 commit db21bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-test/src/main/java/org/springframework/boot/test/SpringApplicationConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* {@code ApplicationContext} for integration tests.
3636
* <p>
3737
* Similar to the standard {@link ContextConfiguration @ContextConfiguration} but uses
38-
* Spring Boot's {@link SpringBootContextLoader}.
38+
* Spring Boot's {@link SpringApplicationContextLoader}.
3939
*
4040
* @author Dave Syer
4141
* @author Sam Brannen
@@ -44,7 +44,7 @@
4444
* @deprecated as of 1.4 in favor of {@link SpringBootTest} or direct use of
4545
* {@link SpringBootContextLoader}.
4646
*/
47-
@ContextConfiguration(loader = SpringBootContextLoader.class)
47+
@ContextConfiguration(loader = SpringApplicationContextLoader.class)
4848
@Documented
4949
@Inherited
5050
@Retention(RetentionPolicy.RUNTIME)

0 commit comments

Comments
 (0)