Skip to content

Commit

Permalink
Add @WebIntegrationTest to zuul
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Feb 19, 2016
1 parent 93b7ad8 commit d72f19f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zuul/src/test/java/demo/ZuulApplicationTests.java
Expand Up @@ -6,6 +6,7 @@
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.boot.test.WebIntegrationTest;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.cloud.client.discovery.noop.NoopDiscoveryClient;
import org.springframework.test.annotation.DirtiesContext;
Expand All @@ -14,6 +15,7 @@
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = ZuulApplication.class)
@DirtiesContext
@WebIntegrationTest(randomPort=true)
public class ZuulApplicationTests {

@Autowired
Expand Down

0 comments on commit d72f19f

Please sign in to comment.