From 739fd90dfd7596830bb0a47ae400e2aa9cc3179c Mon Sep 17 00:00:00 2001 From: lash Date: Sun, 5 Jan 2025 21:04:21 +0000 Subject: [PATCH] Expose httpmocks --- internal/http/server_test.go | 2 +- {internal/testutil => testutil}/mocks/httpmocks/enginemock.go | 0 .../testutil => testutil}/mocks/httpmocks/requesthandlermock.go | 0 .../testutil => testutil}/mocks/httpmocks/requestparsermock.go | 0 {internal/testutil => testutil}/mocks/httpmocks/writermock.go | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename {internal/testutil => testutil}/mocks/httpmocks/enginemock.go (100%) rename {internal/testutil => testutil}/mocks/httpmocks/requesthandlermock.go (100%) rename {internal/testutil => testutil}/mocks/httpmocks/requestparsermock.go (100%) rename {internal/testutil => testutil}/mocks/httpmocks/writermock.go (100%) diff --git a/internal/http/server_test.go b/internal/http/server_test.go index c7b5f33..d97bc19 100644 --- a/internal/http/server_test.go +++ b/internal/http/server_test.go @@ -9,7 +9,7 @@ import ( "git.defalsify.org/vise.git/engine" "git.grassecon.net/urdt/ussd/internal/handlers" - "git.grassecon.net/urdt/ussd/internal/testutil/mocks/httpmocks" + "git.grassecon.net/urdt/ussd/testutil/mocks/httpmocks" "git.grassecon.net/urdt/ussd/request" ) diff --git a/internal/testutil/mocks/httpmocks/enginemock.go b/testutil/mocks/httpmocks/enginemock.go similarity index 100% rename from internal/testutil/mocks/httpmocks/enginemock.go rename to testutil/mocks/httpmocks/enginemock.go diff --git a/internal/testutil/mocks/httpmocks/requesthandlermock.go b/testutil/mocks/httpmocks/requesthandlermock.go similarity index 100% rename from internal/testutil/mocks/httpmocks/requesthandlermock.go rename to testutil/mocks/httpmocks/requesthandlermock.go diff --git a/internal/testutil/mocks/httpmocks/requestparsermock.go b/testutil/mocks/httpmocks/requestparsermock.go similarity index 100% rename from internal/testutil/mocks/httpmocks/requestparsermock.go rename to testutil/mocks/httpmocks/requestparsermock.go diff --git a/internal/testutil/mocks/httpmocks/writermock.go b/testutil/mocks/httpmocks/writermock.go similarity index 100% rename from internal/testutil/mocks/httpmocks/writermock.go rename to testutil/mocks/httpmocks/writermock.go