Browse Source

Fix unit tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/3408/head
Morris Jobke 9 years ago
parent
commit
5e408aeb6c
No known key found for this signature in database GPG Key ID: 9CE5ED29E7FCD38A
  1. 3
      tests/lib/Lockdown/Filesystem/NullStorageTest.php

3
tests/lib/Lockdown/Filesystem/NullStorageTest.php

@ -27,6 +27,7 @@ use Icewind\Streams\IteratorDirectory;
use OC\ForbiddenException;
use OC\Lockdown\Filesystem\NullCache;
use OC\Lockdown\Filesystem\NullStorage;
use OC\Files\FileInfo;
use OCP\Files\Storage;
use Test\TestCase;
@ -182,7 +183,7 @@ class NullStorageTest extends TestCase {
}
public function testFree_space() {
$this->assertSame(0, $this->storage->free_space('foo'));
$this->assertSame(FileInfo::SPACE_UNKNOWN, $this->storage->free_space('foo'));
}
public function testTouch() {

Loading…
Cancel
Save