Adapt ErrorPageFilterIntegrationTests to upstream Framework changes
This commit is contained in:
@@ -179,7 +179,13 @@ class ErrorPageFilterIntegrationTests {
|
||||
private static final String[] EMPTY_RESOURCE_SUFFIXES = {};
|
||||
|
||||
@Override
|
||||
public ApplicationContext loadContext(MergedContextConfiguration config) {
|
||||
@Deprecated
|
||||
public ApplicationContext loadContext(MergedContextConfiguration mergedConfig) throws Exception {
|
||||
return loadContext(mergedConfig, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ApplicationContext loadContext(MergedContextConfiguration config, boolean refresh) {
|
||||
AnnotationConfigServletWebServerApplicationContext context = new AnnotationConfigServletWebServerApplicationContext(
|
||||
config.getClasses());
|
||||
context.registerShutdownHook();
|
||||
|
||||
Reference in New Issue
Block a user