File tree 1 file changed +3
-3
lines changed
src/contractTest/java/uk/gov/hmcts/ccd/v2/external/controller
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 53
53
import uk .gov .hmcts .ccd .domain .service .search .AuthorisedSearchOperation ;
54
54
import uk .gov .hmcts .ccd .domain .service .search .elasticsearch .CrossCaseTypeSearchRequest ;
55
55
import uk .gov .hmcts .ccd .domain .service .search .elasticsearch .security .AuthorisedCaseSearchOperation ;
56
- import uk .gov .hmcts .ccd .domain .service .validate .ValidateCaseFieldsOperation ;
56
+ import uk .gov .hmcts .ccd .domain .service .validate .DefaultValidateCaseFieldsOperation ;
57
57
import uk .gov .hmcts .ccd .domain .types .BaseType ;
58
58
import uk .gov .hmcts .ccd .domain .types .sanitiser .DocumentSanitiser ;
59
59
import uk .gov .hmcts .ccd .infrastructure .user .UserAuthorisation ;
@@ -169,7 +169,7 @@ public class CasesControllerProviderTest extends WireMockBaseTest {
169
169
CaseDocumentAmApiClient caseDocumentAmApiClient ;
170
170
171
171
@ MockBean
172
- ValidateCaseFieldsOperation validateCaseFieldsOperation ;
172
+ DefaultValidateCaseFieldsOperation validateCaseFieldsOperation ;
173
173
174
174
@ MockBean
175
175
SubmitCaseTransaction submitCaseTransaction ;
@@ -224,7 +224,7 @@ void before(PactVerificationContext context) throws JsonProcessingException {
224
224
225
225
stubFor (WireMock .post (urlMatching ("/oauth2/token" ))
226
226
.willReturn (okJson (objectMapper .writeValueAsString (tokenExchangeResponse )).withStatus (200 )));
227
- when (validateCaseFieldsOperation .validateCaseDetails (any (), any () )).thenReturn (new HashMap <>());
227
+ when (validateCaseFieldsOperation .validateCaseDetails (any ())).thenReturn (new HashMap <>());
228
228
}
229
229
230
230
private void mockCaseDetailsResponse (String fileName ) {
You can’t perform that action at this time.
0 commit comments