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")