Skip to content

Commit

Permalink
fix example_token_tests burn event check
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Oct 25, 2023
1 parent 5aa68d8 commit 6c7ce69
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/example_token_tests.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 6c7ce69

Please sign in to comment.