From f528d877a98db8d8c184a8bad35b01d6b9141653 Mon Sep 17 00:00:00 2001 From: Uday Patil Date: Wed, 12 Jul 2023 11:10:05 -0500 Subject: [PATCH] fix brpoken unit test --- x/mint/module_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/x/mint/module_test.go b/x/mint/module_test.go index 1da49c04e..4477cd322 100644 --- a/x/mint/module_test.go +++ b/x/mint/module_test.go @@ -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) @@ -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)