From 6c7ce69a28b35bac90445fc063f10479d34d610a Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Wed, 25 Oct 2023 12:12:09 -0500 Subject: [PATCH] fix example_token_tests burn event check --- tests/example_token_tests.cdc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/example_token_tests.cdc b/tests/example_token_tests.cdc index 09908da..dddd1bf 100644 --- a/tests/example_token_tests.cdc +++ b/tests/example_token_tests.cdc @@ -185,10 +185,7 @@ access(all) fun testBurnTokens() { Test.expect(txResult, Test.beSucceeded()) - // var typ = CompositeType(buildTypeIdentifier(admin, "ExampleToken", "BurnerCreated"))! - // Test.assertEqual(1, blockchain.eventsOfType(typ).length) - - var typ = CompositeType(buildTypeIdentifier(admin, "FungibleToken", "Burrn"))! + var typ = CompositeType(buildTypeIdentifier(admin, "FungibleToken", "Burn"))! Test.assertEqual(1, blockchain.eventsOfType(typ).length) code = Test.readFile("../transactions/scripts/get_balance.cdc")