From 592a819e855e7757ad2461dc298c39745d331c7f Mon Sep 17 00:00:00 2001 From: ruisantiago Date: Fri, 27 Jan 2023 13:39:21 +0000 Subject: [PATCH] update test --- packages/sdk/src/buy/buy.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sdk/src/buy/buy.test.ts b/packages/sdk/src/buy/buy.test.ts index d31fb193e..b7cbe3cff 100644 --- a/packages/sdk/src/buy/buy.test.ts +++ b/packages/sdk/src/buy/buy.test.ts @@ -6,14 +6,14 @@ import { buy } from './buy'; const contractAddress = 'testContract'; const tokenId = 'testToken'; -const referrerId = 'testReferrerId'; +const affiliateAccount = 'testaffiliateAccount'; const price = '1'; test('buy a token', () => { const args = buy({ contractAddress: contractAddress, tokenId: tokenId, - referrerId: referrerId, + affiliateAccount: affiliateAccount, price: price, }); @@ -23,7 +23,7 @@ test('buy a token', () => { args: { nft_contract_id: contractAddress, token_id: tokenId, - referrer_id: referrerId, + referrer_id: affiliateAccount, }, deposit: price, gas: GAS,