소스 검색

Fix unit tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v12.0.0beta1
Morris Jobke 7 년 전
부모
커밋
5e408aeb6c
No account linked to committer's email address
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      tests/lib/Lockdown/Filesystem/NullStorageTest.php

+ 2
- 1
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…
취소
저장