From 6e77bcb45cbcbad5e9b8a2d94a34c2d51282cf59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Tue, 15 Oct 2024 13:02:23 +0300 Subject: [PATCH] Simplify tests. --- .../smartContractTransactionsOutcomeParser.main.net.spec.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/transactionsOutcomeParsers/smartContractTransactionsOutcomeParser.main.net.spec.ts b/src/transactionsOutcomeParsers/smartContractTransactionsOutcomeParser.main.net.spec.ts index d8054aa9..00ee2773 100644 --- a/src/transactionsOutcomeParsers/smartContractTransactionsOutcomeParser.main.net.spec.ts +++ b/src/transactionsOutcomeParsers/smartContractTransactionsOutcomeParser.main.net.spec.ts @@ -141,12 +141,9 @@ describe("test smart contract transactions outcome parser on mainnet", () => { const parsedOutcomeGivenTransactionOnNetwork = parser.parseExecute({ transactionOnNetwork }); assert.deepEqual(parsedOutcomeGivenTransactionOutcome, parsedOutcomeGivenTransactionOnNetwork); - assert.isTrue(parsedOutcomeGivenTransactionOnNetwork.returnCode.length > 0); - assert.isTrue(parsedOutcomeGivenTransactionOnNetwork.returnMessage.length > 0); - assert.lengthOf(parsedOutcomeGivenTransactionOnNetwork.values, 0); - assert.equal(parsedOutcomeGivenTransactionOnNetwork.returnCode, "ok"); assert.equal(parsedOutcomeGivenTransactionOnNetwork.returnMessage, "ok"); + assert.lengthOf(parsedOutcomeGivenTransactionOnNetwork.values, 0); } });