JAVA-22316 Review the time of the build - Week 26 - 2023 (#14426)

This commit is contained in:
anuragkumawat 2023-07-17 20:49:43 +05:30 committed by GitHub
parent a4d39d14dd
commit 3e0164ef0a
6 changed files with 6 additions and 6 deletions

View File

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

View File

@ -29,7 +29,7 @@ import lombok.extern.slf4j.Slf4j;
@ExtendWith(SpringExtension.class)
@SpringBootTest
@Slf4j
class FormClientUnitTest {
class FormClientIntegrationTest {
private static WireMockServer wireMockServer;

View File

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

View File

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

View File

@ -25,7 +25,7 @@ import feign.FeignException;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = ExampleApplication.class)
public class ProductClientUnitTest {
public class ProductClientIntegrationTest {
@Autowired
private ProductClient productClient;

View File

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