live test properly categorized

This commit is contained in:
Eugen Paraschiv 2018-07-19 16:09:27 +03:00
parent 94838d2b63
commit bfaffcf764
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ import org.springframework.web.client.RestTemplate;
import io.specto.hoverfly.junit.core.SimulationSource; import io.specto.hoverfly.junit.core.SimulationSource;
import io.specto.hoverfly.junit.rule.HoverflyRule; import io.specto.hoverfly.junit.rule.HoverflyRule;
public class HoverflyApiIntegrationTest { public class HoverflyApiLiveTest {
private static final SimulationSource source = dsl(service("http://www.baeldung.com").get("/api/courses/1").willReturn(success().body(jsonWithSingleQuotes("{'id':'1','name':'HCI'}"))) private static final SimulationSource source = dsl(service("http://www.baeldung.com").get("/api/courses/1").willReturn(success().body(jsonWithSingleQuotes("{'id':'1','name':'HCI'}")))