diff --git a/apps/whale-api/src/module.api/__defid__/rpc.controller.defid.ts b/apps/whale-api/src/module.api/__defid__/rpc.controller.defid.ts index 67dc26a90..551659703 100644 --- a/apps/whale-api/src/module.api/__defid__/rpc.controller.defid.ts +++ b/apps/whale-api/src/module.api/__defid__/rpc.controller.defid.ts @@ -19,7 +19,7 @@ afterAll(async () => { it('test whitelisted getblockcount rpc call', async () => { const res = await controller.post({ method: 'getblockcount', params: [] }) - expect(res.data).toStrictEqual(101) + expect(res.result).toStrictEqual(101) }) it('test **NOT** whitelisted listpoolpairs rpc call', async () => {