setup db mock

This commit is contained in:
Carlosokumu 2024-09-07 09:55:47 +03:00
parent 5722552395
commit 04ea11dd6d
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -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 {