mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-10-30 08:07:01 +08:00
Fix: able to upload empty file
This commit is contained in:
@ -12,7 +12,7 @@ import (
|
||||
|
||||
func TestFileSystem_AddFile(t *testing.T) {
|
||||
asserts := assert.New(t)
|
||||
file := local.FileData{
|
||||
file := local.FileStream{
|
||||
Size: 5,
|
||||
Name: "1.txt",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user