Fix: endless loop while creating nested folders

This commit is contained in:
HFO4
2020-02-20 08:59:11 +08:00
parent 4420a75c04
commit 58d8695c53
2 changed files with 2 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ func TestLocalFileUpload(t *testing.T) {
)
req.Header.Add("Content-Length", "4")
req.Header.Add("X-FileName", "TestFileUploadRoute.txt")
req.Header.Add("X-Path", "/")
return req
},
ExpectCode: 0,