We don't need this as a global
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hamcha 2019-06-28 22:45:39 +02:00
parent d2a2e4526b
commit 3184ce476a
Signed by: hamcha
GPG Key ID: A40413D21021EAEE
1 changed files with 1 additions and 3 deletions

View File

@ -172,10 +172,8 @@ func TestMalformedJSONLoad(t *testing.T) {
}
}
var testServer *httptest.Server
func TestMain(m *testing.M) {
testServer = httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
switch req.URL.Path {
case "/nopenope.json":
// 404