fix(files): use name as home dir

This commit is contained in:
hexxa 2021-08-14 09:59:17 +08:00 committed by Hexxa
parent b6000771d7
commit 7b2c185686
5 changed files with 49 additions and 45 deletions

View file

@ -162,7 +162,7 @@ func TestFileHandlers(t *testing.T) {
}
// check uploading file
uploadFilePath := q.UploadPath("0", filePath)
uploadFilePath := q.UploadPath(adminName, filePath)
info, err := fs.Stat(uploadFilePath)
if err != nil {
t.Fatal(err)