Remove env settings in unit test
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user