Completely removed the text with SNAPSHOT

This commit is contained in:
Marcin Grzejszczak
2018-04-23 16:52:23 +02:00
parent 2e12e71f6e
commit 0e2e4c1b87

View File

@@ -1,30 +0,0 @@
package org.springframework.cloud.contract.wiremock;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.junit4.SpringRunner;
import static org.assertj.core.api.Assertions.assertThat;
@RunWith(SpringRunner.class)
@SpringBootTest(classes=WiremockTestsApplication.class, properties="app.baseUrl=http://localhost:${wiremock.server.port}", webEnvironment=WebEnvironment.NONE)
@DirtiesContext
// resource from a Initilizr stubs jar
//@AutoConfigureWireMock(port=0, files="classpath*:META-INF/io.spring.initializr/initializr-web/0.4.0.BUILD-SNAPSHOT")
@Ignore
public class AutoConfigureWireMockFilesApplicationWithUrlResourceTests {
@Autowired
private Service service;
@Test
public void contextLoads() throws Exception {
assertThat(this.service.pom()).contains("<artifactId>spring-boot-starter-parent</artifactId>");
}
}