Skip to content

Commit bdb3b25

Browse files
refactor integration test names
1 parent c572f42 commit bdb3b25

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/integrationTest/java/uk/gov/hmcts/cp/controllers/CourtScheduleControllerITest.java renamed to src/integrationTest/java/uk/gov/hmcts/cp/controllers/CourtScheduleControllerIT.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,21 @@
1010
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
1111
import org.springframework.boot.test.context.SpringBootTest;
1212
import org.springframework.http.MediaType;
13-
import org.springframework.test.context.bean.override.mockito.MockitoBean;
1413
import org.springframework.test.context.junit.jupiter.SpringExtension;
1514
import org.springframework.test.web.servlet.MockMvc;
1615
import uk.gov.hmcts.cp.openapi.model.CourtScheduleResponse;
17-
import uk.gov.hmcts.cp.services.CourtScheduleService;
1816

1917
import java.util.UUID;
2018

2119
import static org.junit.jupiter.api.Assertions.*;
22-
import static org.mockito.Mockito.when;
2320
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
2421
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
2522

2623
@ExtendWith(SpringExtension.class)
2724
@SpringBootTest
2825
@AutoConfigureMockMvc
29-
class CourtScheduleControllerITest {
30-
private static final Logger log = LoggerFactory.getLogger(CourtScheduleControllerITest.class);
26+
class CourtScheduleControllerIT {
27+
private static final Logger log = LoggerFactory.getLogger(CourtScheduleControllerIT.class);
3128

3229
@Autowired
3330
private MockMvc mockMvc;

src/integrationTest/java/uk/gov/hmcts/cp/controllers/RootControllerIntegrationTest.java renamed to src/integrationTest/java/uk/gov/hmcts/cp/controllers/RootControllerIntegrationIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
@ExtendWith(SpringExtension.class)
2020
@SpringBootTest
2121
@AutoConfigureMockMvc
22-
class RootControllerIntegrationTest {
22+
class RootControllerIntegrationIT {
2323

2424
@Autowired
2525
private MockMvc mockMvc;

0 commit comments

Comments
 (0)