test: add test for calling filesize on non-existing files

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2026-02-24 15:32:06 +01:00
parent b628ef615b
commit 87504e27d0
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -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'));
}
/**