Refresh the Spring ApplicationContext in the runSpringApplication(..) method of the ClientServerIntegrationTestsSupport class.
This commit is contained in:
@@ -155,6 +155,7 @@ public abstract class ClientServerIntegrationTestsSupport extends IntegrationTes
|
||||
|
||||
applicationContext.register(ArrayUtils.nullSafeArray(annotatedClasses, Class.class));
|
||||
applicationContext.registerShutdownHook();
|
||||
applicationContext.refresh();
|
||||
|
||||
return applicationContext;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user