From 0e453b81a7539c154d1fe6991521b451f4a45212 Mon Sep 17 00:00:00 2001 From: Mathieu Lefebvre <49442766+Matlefebvre1234@users.noreply.github.com> Date: Mon, 4 Dec 2023 20:44:52 -0500 Subject: [PATCH] update test --- src/queries.spec.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/queries.spec.ts b/src/queries.spec.ts index 69390db..2c687ff 100644 --- a/src/queries.spec.ts +++ b/src/queries.spec.ts @@ -112,14 +112,12 @@ test("getTotalSupply", () => { formatSQL(`SELECT TotalSupply.address as address, TotalSupply.supply as supply, - TotalSupply.id as id, - block_number, - TotalSupply.module_hash as module_hash, + TotalSupply.block_number, TotalSupply.chain as chain, Contracts.name as name, Contracts.symbol as symbol, Contracts.decimals as decimals, - timestamp`) + TotalSupply.timestamp`) ); expect(formatSQL(getTotalSupply(parameters))).toContain( formatSQL(`FROM TotalSupply`) @@ -253,7 +251,7 @@ test("getTransfers", () => { const parameters5 = new URLSearchParams({ chain, contract: address, from: address, to: address, transaction_id }); expect(formatSQL(getTransfers(parameters1))).toContain( formatSQL(`SELECT - address as contract, + address, from, to, value as amount,