Test: modified folder methods

This commit is contained in:
HFO4 committed 2019-12-07 20:27:20 +08:00
1 parent 56b1ae9f31
commit 05c802e0fa
4 files changed
+318 -522

No files matched your search

-1
View File
@@ -42,7 +42,6 @@ func (fs *FileSystem) AddFile(ctx context.Context, parent *model.Folder) (*model
Size: file.GetSize(),
FolderID: parent.ID,
PolicyID: fs.User.Policy.ID,
Dir: parent.PositionAbsolute,
}
_, err := newFile.Create()