chore: fix failing getBlockTime integration test (#11825)

This commit is contained in:
Justin Starry
2020-08-25 17:40:50 +08:00
committed by GitHub
parent 6dd5e51bd8
commit 72fa1d29a9

View File

@ -1238,7 +1238,7 @@ test('get block time', async () => {
url, url,
{ {
method: 'getBlockTime', method: 'getBlockTime',
params: [1], params: [2],
}, },
{ {
error: null, 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) { if (blockTime === null) {
expect(blockTime).not.toBeNull(); expect(blockTime).not.toBeNull();
} else { } else {