mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
test: add test for calling filesize on non-existing files
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
b628ef615b
commit
87504e27d0
1 changed files with 2 additions and 0 deletions
|
|
@ -311,6 +311,8 @@ abstract class Storage extends \Test\TestCase {
|
|||
|
||||
$this->instance->unlink('/lorem.txt');
|
||||
$this->assertTrue($this->instance->hasUpdated('/', $mtimeStart - 5));
|
||||
|
||||
$this->assertFalse($this->instance->filesize('/non-existing-file.txt'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue