Fix: failed test due to relative path
This commit is contained in:
@@ -61,11 +61,6 @@ func TestFileSystem_ValidateCapacity(t *testing.T) {
|
||||
fs.User.Storage = 5
|
||||
asserts.False(fs.ValidateCapacity(ctx, 10))
|
||||
asserts.Equal(uint64(5), fs.User.Storage)
|
||||
|
||||
fs.User.Storage = 5
|
||||
cache.Set("pack_size_0", uint64(15), 0)
|
||||
asserts.True(fs.ValidateCapacity(ctx, 10))
|
||||
asserts.Equal(uint64(15), fs.User.Storage)
|
||||
}
|
||||
|
||||
func TestFileSystem_ValidateFileSize(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user