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

@ -121,7 +121,7 @@ func TestUsersHandlers(t *testing.T) {
fmt.Printf("new user id: %v\n", auResp)
// check uploading file
userFsRootFolder := q.FsRootPath(auResp.ID, "/")
userFsRootFolder := q.FsRootPath(userName, "/")
_, err = fs.Stat(userFsRootFolder)
if err != nil {
t.Fatal(err)