mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-18 05:02:15 +01:00
removing commented test
This commit is contained in:
@@ -119,19 +119,7 @@ func TestConvertHandler(t *testing.T) {
|
|||||||
appConfig, _ = config.NewAppConfig(path)
|
appConfig, _ = config.NewAppConfig(path)
|
||||||
process.Load(appConfig.CommandsConfig)
|
process.Load(appConfig.CommandsConfig)
|
||||||
|
|
||||||
/*sum := 0
|
// TODO
|
||||||
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++
|
|
||||||
}*/
|
|
||||||
|
|
||||||
// case 4: sends a request with two files.
|
// case 4: sends a request with two files.
|
||||||
oPath, _ = filepath.Abs("../_tests/file.docx")
|
oPath, _ = filepath.Abs("../_tests/file.docx")
|
||||||
|
|||||||
Reference in New Issue
Block a user