Remove env settings in unit test

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-23 18:22:25 +08:00
parent d314942c08
commit 2d92d5fba7

View File

@@ -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()
}