From ad21fb3c8c0d7833679aad1361a5ba1c054fff23 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 10 Apr 2018 13:42:14 +0200 Subject: [PATCH] removing commented test --- app/handlers_test.go | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/app/handlers_test.go b/app/handlers_test.go index 13059eb6..4bbf9245 100644 --- a/app/handlers_test.go +++ b/app/handlers_test.go @@ -119,19 +119,7 @@ func TestConvertHandler(t *testing.T) { appConfig, _ = config.NewAppConfig(path) process.Load(appConfig.CommandsConfig) - /*sum := 0 - for sum < 2 { - go func() { - path, _ := filepath.Abs("../_tests/file.docx") - req := makeRequest(path) - rr := httptest.NewRecorder() - h.ServeHTTP(rr, req) - if status := rr.Code; status != http.StatusInternalServerError { - t.Errorf("Handler returned a wrong status code: got %v want %v", status, http.StatusInternalServerError) - } - }() - sum++ - }*/ + // TODO // case 4: sends a request with two files. oPath, _ = filepath.Abs("../_tests/file.docx")