Skip to content

Commit

Permalink
fix brpoken unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil committed Jul 12, 2023
1 parent b181865 commit f528d87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions x/mint/module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ func TestNewProposalHandler(t *testing.T) {
newMinter := types.NewMinter(
"2023-10-05",
"2023-11-22",
"test",
"usei",
12345,
)
updateMinterProposal := &types.UpdateMinterProposal{
Title: "Test Title",
Title: "Test Title",
Description: "Test Description",
Minter: &newMinter,
Minter: &newMinter,
}
err := handler(ctx, updateMinterProposal)
require.NoError(t, err)
Expand All @@ -63,9 +63,9 @@ func TestNewProposalHandler(t *testing.T) {
12345,
)
invalidProposal := &types.UpdateMinterProposal{
Title: "Invalid Minter",
Title: "Invalid Minter",
Description: "Invalid Minter",
Minter: &invalidMinter,
Minter: &invalidMinter,
}
err = handler(ctx, invalidProposal)
require.Error(t, err)
Expand Down

0 comments on commit f528d87

Please sign in to comment.