JAVA-22316 Review the time of the build - Week 26 - 2023 (#14426)
This commit is contained in:
parent
a4d39d14dd
commit
3e0164ef0a
|
@ -31,7 +31,7 @@ import static org.junit.Assert.assertTrue;
|
|||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(properties = {"external.api.url=http://localhost:${wiremock.server.port}"})
|
||||
@AutoConfigureWireMock(port = 0)
|
||||
public class NetflixFeignUnitTest {
|
||||
public class NetflixFeignIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private JSONPlaceHolderService jsonPlaceHolderService;
|
|
@ -29,7 +29,7 @@ import lombok.extern.slf4j.Slf4j;
|
|||
@ExtendWith(SpringExtension.class)
|
||||
@SpringBootTest
|
||||
@Slf4j
|
||||
class FormClientUnitTest {
|
||||
class FormClientIntegrationTest {
|
||||
|
||||
private static WireMockServer wireMockServer;
|
||||
|
|
@ -22,7 +22,7 @@ import com.github.tomakehurst.wiremock.WireMockServer;
|
|||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = ExampleApplication.class)
|
||||
public class ProductClientUnitTest {
|
||||
public class ProductClientIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private ProductClient productClient;
|
|
@ -31,7 +31,7 @@ import com.github.tomakehurst.wiremock.client.WireMock;
|
|||
@RunWith(SpringRunner.class)
|
||||
@WebMvcTest(ProductController.class)
|
||||
@ImportAutoConfiguration({FeignAutoConfiguration.class})
|
||||
public class ProductControllerUnitTest {
|
||||
public class ProductControllerIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private ProductClient productClient;
|
|
@ -25,7 +25,7 @@ import feign.FeignException;
|
|||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = ExampleApplication.class)
|
||||
public class ProductClientUnitTest {
|
||||
public class ProductClientIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private ProductClient productClient;
|
|
@ -29,7 +29,7 @@ import com.github.tomakehurst.wiremock.client.WireMock;
|
|||
@WebMvcTest(ProductController.class)
|
||||
@ImportAutoConfiguration({FeignAutoConfiguration.class, TestControllerAdvice.class})
|
||||
@EnableWebMvc
|
||||
public class ProductControllerUnitTest {
|
||||
public class ProductControllerIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
private ProductClient productClient;
|
Loading…
Reference in New Issue