From d2b4dcef36ca3dc2d16d41d86e69bbf4514e2e87 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Wed, 18 Feb 2026 16:09:20 +0300 Subject: [PATCH] match the updated function name in the test --- handlers/application/send_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/application/send_test.go b/handlers/application/send_test.go index 207032a..665fd10 100644 --- a/handlers/application/send_test.go +++ b/handlers/application/send_test.go @@ -452,7 +452,7 @@ func TestGetAmount(t *testing.T) { assert.Equal(t, formattedAmount, res.Content) } -func TestInitiateTransaction(t *testing.T) { +func TestInitiateNormalTransaction(t *testing.T) { sessionId := "254712345678" ctx, store := InitializeTestStore(t) ctx = context.WithValue(ctx, "SessionId", sessionId) @@ -538,7 +538,7 @@ func TestInitiateTransaction(t *testing.T) { mockAccountService.On("TokenTransfer").Return(tt.TransferResponse, nil) // Call the method under test - res, _ := h.InitiateTransaction(ctx, "transaction_reset_amount", []byte("")) + res, _ := h.InitiateNormalTransaction(ctx, "transaction_reset_amount", []byte("")) // Assert that no errors occurred assert.NoError(t, err)