diff --git a/web3.js/test/connection.test.js b/web3.js/test/connection.test.js index 2497f16506..ffcab510c7 100644 --- a/web3.js/test/connection.test.js +++ b/web3.js/test/connection.test.js @@ -1238,7 +1238,7 @@ test('get block time', async () => { url, { method: 'getBlockTime', - params: [1], + params: [2], }, { error: null, @@ -1246,7 +1246,7 @@ test('get block time', async () => { }, ]); - const blockTime = await connection.getBlockTime(1); + const blockTime = await connection.getBlockTime(2); if (blockTime === null) { expect(blockTime).not.toBeNull(); } else {