Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthiago committed Jan 27, 2023
1 parent d86c4cf commit 592a819
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sdk/src/buy/buy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});

Expand All @@ -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,
Expand Down

0 comments on commit 592a819

Please sign in to comment.