Start building against Spring Framework 6.1.0-M4 snapshots
See gh-36678
This commit is contained in:
@@ -230,8 +230,8 @@ public class SpringBootContextLoader extends AbstractContextLoader implements Ao
|
||||
setActiveProfiles(environment, mergedConfig.getActiveProfiles(), applicationEnvironment);
|
||||
ResourceLoader resourceLoader = (application.getResourceLoader() != null) ? application.getResourceLoader()
|
||||
: new DefaultResourceLoader(null);
|
||||
TestPropertySourceUtils.addPropertiesFilesToEnvironment(environment, resourceLoader,
|
||||
mergedConfig.getPropertySourceLocations());
|
||||
TestPropertySourceUtils.addPropertySourcesToEnvironment(environment, resourceLoader,
|
||||
mergedConfig.getPropertySourceDescriptors());
|
||||
TestPropertySourceUtils.addInlinedPropertiesToEnvironment(environment, getInlinedProperties(mergedConfig));
|
||||
}
|
||||
|
||||
|
||||
@@ -376,7 +376,7 @@ public class SpringBootTestContextBootstrapper extends DefaultTestContextBootstr
|
||||
contextCustomizers.add(new SpringBootTestAnnotation(mergedConfig.getTestClass()));
|
||||
return new MergedContextConfiguration(mergedConfig.getTestClass(), mergedConfig.getLocations(), classes,
|
||||
mergedConfig.getContextInitializerClasses(), mergedConfig.getActiveProfiles(),
|
||||
mergedConfig.getPropertySourceLocations(), propertySourceProperties, contextCustomizers,
|
||||
mergedConfig.getPropertySourceDescriptors(), propertySourceProperties, contextCustomizers,
|
||||
mergedConfig.getContextLoader(), getCacheAwareContextLoaderDelegate(), mergedConfig.getParent());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user