From 2669ff25c641b795fbb2d4586f1a5c8b89fc4b99 Mon Sep 17 00:00:00 2001 From: Davis Sawali Date: Mon, 8 Jul 2024 16:16:43 -0700 Subject: [PATCH] used methodsObject() instead of the deprecated methods() --- .../__tests__/wallet/transfer-ticket-operation.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/__tests__/wallet/transfer-ticket-operation.spec.ts b/integration-tests/__tests__/wallet/transfer-ticket-operation.spec.ts index b0c9e0525f..f1f0fbd7a5 100644 --- a/integration-tests/__tests__/wallet/transfer-ticket-operation.spec.ts +++ b/integration-tests/__tests__/wallet/transfer-ticket-operation.spec.ts @@ -35,8 +35,9 @@ CONFIGS().forEach(({ lib, rpc, setup, createAddress }) => { ticketToken = { ticketer: ticketSendContract.address, content_type: { prim: 'string' }, content: { string: 'Ticket' } }; // Send 3 tickets from the originated contract to sender - const sendTickets = await ticketSendContract.methods.default(senderPkh, '3').send(); + const sendTickets = await ticketSendContract.methodsObject.default([senderPkh, '3']).send() await sendTickets.confirmation(); + } catch (error) { console.log(error); } @@ -63,7 +64,6 @@ CONFIGS().forEach(({ lib, rpc, setup, createAddress }) => { await transferTicketOp.confirmation(); expect(await transferTicketOp.status()).toEqual('applied'); - console.log(`opHash: ${transferTicketOp.opHash}`); // Check balances after transferring tickets const balanceAfter = await client.getTicketBalance(recipientPkh, ticketToken);