Refresh the Spring ApplicationContext in the runSpringApplication(..) method of the ClientServerIntegrationTestsSupport class.

This commit is contained in:
John Blum
2021-09-09 11:13:02 -07:00
parent 2ff96e5c6f
commit a39f40841d

View File

@@ -155,6 +155,7 @@ public abstract class ClientServerIntegrationTestsSupport extends IntegrationTes
applicationContext.register(ArrayUtils.nullSafeArray(annotatedClasses, Class.class));
applicationContext.registerShutdownHook();
applicationContext.refresh();
return applicationContext;
}