diff --git a/test/e2e/tests/confirmations/transactions/increase-token-allowance-redesign.spec.ts b/test/e2e/tests/confirmations/transactions/increase-token-allowance-redesign.spec.ts index a64da891e447..59056ac3b9be 100644 --- a/test/e2e/tests/confirmations/transactions/increase-token-allowance-redesign.spec.ts +++ b/test/e2e/tests/confirmations/transactions/increase-token-allowance-redesign.spec.ts @@ -155,29 +155,6 @@ describe('Confirmation Redesign ERC20 Increase Allowance', function () { }); }); -async function mocked4BytesApprove(mockServer: MockttpServer) { - return await mockServer - .forGet('https://www.4byte.directory/api/v1/signatures/') - .withQuery({ hex_signature: '0x095ea7b3' }) - .thenCallback(() => ({ - statusCode: 200, - json: { - count: 1, - next: null, - previous: null, - results: [ - { - id: 149, - created_at: '2016-07-09T03:58:29.617584Z', - text_signature: 'approve(address,uint256)', - hex_signature: '0x095ea7b3', - bytes_signature: '\t^§³', - }, - ], - }, - })); -} - async function mocked4BytesIncreaseAllowance(mockServer: MockttpServer) { return await mockServer .forGet('https://www.4byte.directory/api/v1/signatures/') @@ -202,10 +179,7 @@ async function mocked4BytesIncreaseAllowance(mockServer: MockttpServer) { } async function mocks(server: MockttpServer) { - return [ - await mocked4BytesApprove(server), - await mocked4BytesIncreaseAllowance(server), - ]; + return [await mocked4BytesIncreaseAllowance(server)]; } async function createERC20IncreaseAllowanceTransaction(driver: Driver) {