feign-client fix (#1830)

This commit is contained in:
Grzegorz Piwowarek 2017-05-11 19:24:14 +02:00 committed by Eugen
parent 35231d0c19
commit dd3dab15cd
2 changed files with 16 additions and 1 deletions

View File

@ -58,6 +58,18 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<reuseForks>true</reuseForks>
<excludes>
<exclude>**/*IntegrationTest.java</exclude>
<exclude>**/*LiveTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

View File

@ -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