Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-nguy committed Apr 25, 2023
1 parent cb2370b commit 64fa86e
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions x/cronos/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,24 +354,11 @@ func (suite *KeeperTestSuite) TestRegisterOrUpdateTokenMapping() {
},
false,
},
{
"Source token, denom not match",
types.MsgUpdateTokenMapping{
Sender: "",
Denom: "cronos0xA6d4fecb1a6fb7c2ca350169a050d483bd87b883",
Contract: contractAddress,
Symbol: "",
Decimal: 0,
},
func() {
},
true,
},
{
"Source token, denom not checksum, error",
types.MsgUpdateTokenMapping{
Sender: "",
Denom: "cronos0xf6d4fecb1a6fb7c2ca350169a050d483bd87b883",
Denom: "cronos0xf6d4fecb1a6fb7c2ca350169a050d483bd87b88@",
Contract: contractAddress,
Symbol: "",
Decimal: 0,
Expand Down

0 comments on commit 64fa86e

Please sign in to comment.