|
|
|
@ -46,10 +46,12 @@ import org.springframework.web.bind.annotation.RestController;
@@ -46,10 +46,12 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
import static org.junit.Assert.assertEquals; |
|
|
|
|
import static org.junit.Assert.assertNotNull; |
|
|
|
|
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PORT; |
|
|
|
|
import static org.springframework.cloud.netflix.zuul.filters.support.FilterConstants.PRE_TYPE; |
|
|
|
|
|
|
|
|
|
@RunWith(SpringJUnit4ClassRunner.class) |
|
|
|
|
@SpringBootTest(classes = SimpleZuulServerApplication.class, webEnvironment = WebEnvironment.RANDOM_PORT) |
|
|
|
|
@SpringBootTest(classes = SimpleZuulServerApplication.class, webEnvironment = RANDOM_PORT, |
|
|
|
|
properties = "zuul.routes[testclient]:/testing123/**") |
|
|
|
|
@DirtiesContext |
|
|
|
|
public class SimpleZuulServerApplicationTests { |
|
|
|
|
|
|
|
|
|