Skip to content

Commit b46e81c

Browse files
committed
Start building against Spring Framework 6.1.0-M4 snapshots
See gh-36678
1 parent 57eee66 commit b46e81c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
66

77
kotlinVersion=1.9.0
88
nativeBuildToolsVersion=0.9.23
9-
springFrameworkVersion=6.1.0-M3
9+
springFrameworkVersion=6.1.0-SNAPSHOT
1010
tomcatVersion=10.1.11
1111

1212
kotlin.stdlib.default.dependency=false

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ private void prepareEnvironment(MergedContextConfiguration mergedConfig, SpringA
230230
setActiveProfiles(environment, mergedConfig.getActiveProfiles(), applicationEnvironment);
231231
ResourceLoader resourceLoader = (application.getResourceLoader() != null) ? application.getResourceLoader()
232232
: new DefaultResourceLoader(null);
233-
TestPropertySourceUtils.addPropertiesFilesToEnvironment(environment, resourceLoader,
234-
mergedConfig.getPropertySourceLocations());
233+
TestPropertySourceUtils.addPropertySourcesToEnvironment(environment, resourceLoader,
234+
mergedConfig.getPropertySourceDescriptors());
235235
TestPropertySourceUtils.addInlinedPropertiesToEnvironment(environment, getInlinedProperties(mergedConfig));
236236
}
237237

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ protected final MergedContextConfiguration createModifiedConfig(MergedContextCon
376376
contextCustomizers.add(new SpringBootTestAnnotation(mergedConfig.getTestClass()));
377377
return new MergedContextConfiguration(mergedConfig.getTestClass(), mergedConfig.getLocations(), classes,
378378
mergedConfig.getContextInitializerClasses(), mergedConfig.getActiveProfiles(),
379-
mergedConfig.getPropertySourceLocations(), propertySourceProperties, contextCustomizers,
379+
mergedConfig.getPropertySourceDescriptors(), propertySourceProperties, contextCustomizers,
380380
mergedConfig.getContextLoader(), getCacheAwareContextLoaderDelegate(), mergedConfig.getParent());
381381
}
382382

0 commit comments

Comments
 (0)