From e4d8bfad7b427e9915a07399c02f63eb07c19e45 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Thu, 19 Sep 2024 17:17:28 +0300 Subject: [PATCH] moved the mocks package --- internal/handlers/ussd/menuhandler_test.go | 2 +- internal/{handlers/ussd => }/mocks/dbmock.go | 0 internal/{handlers/ussd => }/mocks/servicemock.go | 0 internal/{handlers/ussd => }/mocks/userdbmock.go | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename internal/{handlers/ussd => }/mocks/dbmock.go (100%) rename internal/{handlers/ussd => }/mocks/servicemock.go (100%) rename internal/{handlers/ussd => }/mocks/userdbmock.go (100%) diff --git a/internal/handlers/ussd/menuhandler_test.go b/internal/handlers/ussd/menuhandler_test.go index dd24b20..d0367f0 100644 --- a/internal/handlers/ussd/menuhandler_test.go +++ b/internal/handlers/ussd/menuhandler_test.go @@ -11,7 +11,7 @@ import ( "git.defalsify.org/vise.git/db" "git.defalsify.org/vise.git/resource" "git.defalsify.org/vise.git/state" - "git.grassecon.net/urdt/ussd/internal/handlers/ussd/mocks" + "git.grassecon.net/urdt/ussd/internal/mocks" "git.grassecon.net/urdt/ussd/internal/models" "git.grassecon.net/urdt/ussd/internal/utils" "github.com/alecthomas/assert/v2" diff --git a/internal/handlers/ussd/mocks/dbmock.go b/internal/mocks/dbmock.go similarity index 100% rename from internal/handlers/ussd/mocks/dbmock.go rename to internal/mocks/dbmock.go diff --git a/internal/handlers/ussd/mocks/servicemock.go b/internal/mocks/servicemock.go similarity index 100% rename from internal/handlers/ussd/mocks/servicemock.go rename to internal/mocks/servicemock.go diff --git a/internal/handlers/ussd/mocks/userdbmock.go b/internal/mocks/userdbmock.go similarity index 100% rename from internal/handlers/ussd/mocks/userdbmock.go rename to internal/mocks/userdbmock.go