From 8b852b18f433cc84a8854c99f3506bf85403c0cf Mon Sep 17 00:00:00 2001 From: kynmh69 Date: Sun, 29 Sep 2024 12:07:46 +0900 Subject: [PATCH] =?UTF-8?q?Gin=E3=81=B8=E3=81=AE=E7=A7=BB=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/handler/count_holidays_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/handler/count_holidays_test.go b/src/api/handler/count_holidays_test.go index 5828a1f..d84a05b 100644 --- a/src/api/handler/count_holidays_test.go +++ b/src/api/handler/count_holidays_test.go @@ -5,10 +5,12 @@ import ( "github.com/kynmh69/go-ja-holidays/logging" "github.com/kynmh69/go-ja-holidays/util" "net/http/httptest" + "os" "testing" ) func TestMain(m *testing.M) { + _ = os.Setenv("PSQL_HOSTNAME", "localhost") util.SetUp() code := m.Run() if code > 0 {