From 04ea11dd6d3c3d9af6d65a9e95924c4bd976587c Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Sat, 7 Sep 2024 09:55:47 +0300 Subject: [PATCH] setup db mock --- internal/handlers/ussd/mocks/dbmock.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/handlers/ussd/mocks/dbmock.go b/internal/handlers/ussd/mocks/dbmock.go index 71f7eca..0b40eab 100644 --- a/internal/handlers/ussd/mocks/dbmock.go +++ b/internal/handlers/ussd/mocks/dbmock.go @@ -4,7 +4,6 @@ import ( "context" "git.defalsify.org/vise.git/lang" - "git.grassecon.net/urdt/ussd/internal/utils" "github.com/stretchr/testify/mock" ) @@ -13,7 +12,7 @@ type MockDb struct { } func (m *MockDb) SetPrefix(prefix uint8) { - m.Called(utils.DATA_FAMILY_NAME) + m.Called(prefix) } func (m *MockDb) Prefix() uint8 {