From 2d92d5fba7d042f4388f98a15a486852c53a88e0 Mon Sep 17 00:00:00 2001 From: Asai Neko Date: Tue, 23 Dec 2025 18:22:25 +0800 Subject: [PATCH] Remove env settings in unit test Signed-off-by: Asai Neko --- internal/crypto/jwt/jwt_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/crypto/jwt/jwt_test.go b/internal/crypto/jwt/jwt_test.go index a169e4e..b9a7b0b 100644 --- a/internal/crypto/jwt/jwt_test.go +++ b/internal/crypto/jwt/jwt_test.go @@ -4,7 +4,6 @@ import ( "net/http" "net/http/httptest" "nixcn-cms/config" - "os" "testing" "time" @@ -14,7 +13,6 @@ import ( ) func init() { - os.Setenv("GO_ENV", "test") config.Init() }