diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-02-08 20:39:34 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-02-08 20:39:34 -0600 |
commit | 5e408aeb6c937980a508d07cce9ed43ff4147c20 (patch) | |
tree | fcce4add0b4cadfe28f71ff9112628aa882103c0 /tests | |
parent | ad5d04ccbead4ca5f401f588b35639b4c8e44f73 (diff) | |
download | nextcloud-server-5e408aeb6c937980a508d07cce9ed43ff4147c20.tar.gz nextcloud-server-5e408aeb6c937980a508d07cce9ed43ff4147c20.zip |
Fix unit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Lockdown/Filesystem/NullStorageTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Lockdown/Filesystem/NullStorageTest.php b/tests/lib/Lockdown/Filesystem/NullStorageTest.php index dc99eb4c03a..c6faf325cd4 100644 --- a/tests/lib/Lockdown/Filesystem/NullStorageTest.php +++ b/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() { |