removing commented test

This commit is contained in:
Julien Neuhart
2018-04-10 13:42:14 +02:00
parent 3860c151de
commit ad21fb3c8c

View File

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