From 72a1537b6e043f3f9ecba54c579532c23b43d19c Mon Sep 17 00:00:00 2001 From: Tanmay Date: Thu, 6 Jun 2024 15:55:40 -0400 Subject: [PATCH] restructure fungible tests --- x/crosschain/keeper/msg_server_abort_stuck_cctx_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/x/crosschain/keeper/msg_server_abort_stuck_cctx_test.go b/x/crosschain/keeper/msg_server_abort_stuck_cctx_test.go index 505776c89f..3a1d991c30 100644 --- a/x/crosschain/keeper/msg_server_abort_stuck_cctx_test.go +++ b/x/crosschain/keeper/msg_server_abort_stuck_cctx_test.go @@ -97,7 +97,6 @@ func TestMsgServer_AbortStuckCCTX(t *testing.T) { Creator: admin, CctxIndex: sample.GetCctxIndexFromString("cctx_index"), } - keepertest.MockCheckAuthorization(&authorityMock.Mock, &msg, nil) _, err := msgServer.AbortStuckCCTX(ctx, &msg) @@ -130,7 +129,6 @@ func TestMsgServer_AbortStuckCCTX(t *testing.T) { Creator: admin, CctxIndex: sample.GetCctxIndexFromString("cctx_index"), } - keepertest.MockCheckAuthorization(&authorityMock.Mock, &msg, authoritytypes.ErrUnauthorized) _, err := msgServer.AbortStuckCCTX(ctx, &msg) require.ErrorIs(t, err, authoritytypes.ErrUnauthorized)