From dd3dab15cd8c62671fda155b5a507169d5ca2f14 Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Thu, 11 May 2017 19:24:14 +0200 Subject: [PATCH] feign-client fix (#1830) --- feign/pom.xml | 12 ++++++++++++ .../{BookClientTest.java => BookClientLiveTest.java} | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) rename feign/src/test/java/com/baeldung/feign/clients/{BookClientTest.java => BookClientLiveTest.java} (94%) diff --git a/feign/pom.xml b/feign/pom.xml index 0e7a2e38f1..63c6a23139 100644 --- a/feign/pom.xml +++ b/feign/pom.xml @@ -58,6 +58,18 @@ spring-boot-maven-plugin ${spring-boot-maven-plugin.version} + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + true + + **/*IntegrationTest.java + **/*LiveTest.java + + + diff --git a/feign/src/test/java/com/baeldung/feign/clients/BookClientTest.java b/feign/src/test/java/com/baeldung/feign/clients/BookClientLiveTest.java similarity index 94% rename from feign/src/test/java/com/baeldung/feign/clients/BookClientTest.java rename to feign/src/test/java/com/baeldung/feign/clients/BookClientLiveTest.java index d7e65a0f4c..a17dbf7a2e 100644 --- a/feign/src/test/java/com/baeldung/feign/clients/BookClientTest.java +++ b/feign/src/test/java/com/baeldung/feign/clients/BookClientLiveTest.java @@ -18,9 +18,12 @@ import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; +/** + * Consumes https://github.com/Baeldung/spring-hypermedia-api + */ @Slf4j @RunWith(JUnit4.class) -public class BookClientTest { +public class BookClientLiveTest { private BookClient bookClient; @Before