From 8db652f6dc6fff52560f1d787f448acb3c565005 Mon Sep 17 00:00:00 2001 From: sotnikov-s Date: Fri, 14 Jun 2024 17:32:09 +0300 Subject: [PATCH] fix force transfer error msgs in tokenfactory tests --- x/tokenfactory/keeper/keeper_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/tokenfactory/keeper/keeper_test.go b/x/tokenfactory/keeper/keeper_test.go index 96fcbebda..335ff509e 100644 --- a/x/tokenfactory/keeper/keeper_test.go +++ b/x/tokenfactory/keeper/keeper_test.go @@ -125,10 +125,10 @@ func (suite *KeeperTestSuite) TestForceTransferMsg() { suite.Require().NoError(err) _, err = suite.msgServer.ForceTransfer(suite.ChainA.GetContext(), types.NewMsgForceTransfer(suite.TestAccs[0].String(), mintAmt, govModAcc.GetAddress().String(), suite.TestAccs[1].String())) - suite.Require().ErrorContains(err, "force transfer from module acc not available") + suite.Require().ErrorContains(err, "force transfer from module accounts is forbidden") _, err = suite.msgServer.ForceTransfer(suite.ChainA.GetContext(), types.NewMsgForceTransfer(suite.TestAccs[0].String(), mintAmt, suite.TestAccs[1].String(), govModAcc.GetAddress().String())) - suite.Require().ErrorContains(err, "force transfer to module acc not available") + suite.Require().ErrorContains(err, "force transfer to module accounts is forbidden") }) }