Skip to content

Commit 42f4ffc

Browse files
author
Sergey Shelomentsev
committed
chore: remove redundant mock
1 parent 4e3196a commit 42f4ffc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sdk/src/test/java/com/fingerprint/api/FingerprintApiTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ private InputStream getFileAsIOStream(final String fileName) {
5555
public void before() throws ApiException, IOException {
5656
api = Mockito.mock(FingerprintApi.class);
5757
when(api.getEvent(MOCK_REQUEST_ID)).thenReturn(fetchMockWithEventResponse("mocks/get_event_200.json"));
58-
//when(api.getEvent(MOCK_REQUEST_ID)).thenReturn(fetchMockWithEventResponse("mocks/update_event_400_error.json"));
5958
when(api.getEvent(MOCK_REQUEST_WITH_EXTRA_FIELDS_ID)).thenReturn(fetchMockWithEventResponse("mocks/get_event_200_extra_fields.json"));
6059
when(api.getEvent(MOCK_REQUEST_WITH_ALL_FAILED_SIGNALS)).thenReturn(fetchMockWithEventResponse("mocks/get_event_200_all_errors.json"));
6160
when(api.getEvent(MOCK_REQUEST_BOTD_FAILED)).thenReturn(fetchMockWithEventResponse("mocks/get_event_200_botd_failed_error.json"));

0 commit comments

Comments
 (0)