mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-12 22:43:13 +00:00
Fix: 0 length upload should be allowed
This commit is contained in:
1 parent
671d031d00
commit
a994a74f4e
2 files changed
+1
-2
No files matched your search
@@ -73,7 +73,6 @@ func TestFileSystem_ValidateFileSize(t *testing.T) {
|
||||
asserts.True(fs.ValidateFileSize(ctx, 5))
|
||||
asserts.True(fs.ValidateFileSize(ctx, 10))
|
||||
asserts.False(fs.ValidateFileSize(ctx, 11))
|
||||
asserts.False(fs.ValidateFileSize(ctx, 0))
|
||||
}
|
||||
|
||||
func TestFileSystem_ValidateExtension(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user