fixed spring-cloud context integration tests - part 2:

This commit is contained in:
Ger Roza
2019-04-10 17:58:34 -03:00
parent 2e4bb83e7b
commit c685f8d4ff
12 changed files with 61 additions and 38 deletions
@@ -6,16 +6,10 @@ import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
/**
*
* The context will load successfully with some properties provided by docker
*
*/
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = ConfigServer.class)
@WebAppConfiguration
public class SpringContextLiveTest {
public class SpringContextIntegrationTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
@@ -0,0 +1,2 @@
### This should be provided by the docker config
spring.cloud.config.server.git.uri=classpath:.