Browse Source

add test for non existing file by id

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v15.0.0RC1
Robin Appelman 5 years ago
parent
commit
aa6f7947ba
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tests/lib/Files/Cache/CacheTest.php

+ 1
- 0
tests/lib/Files/Cache/CacheTest.php View File

@@ -553,6 +553,7 @@ class CacheTest extends \Test\TestCase {

function testNonExisting() {
$this->assertFalse($this->cache->get('foo.txt'));
$this->assertFalse($this->cache->get(-1));
$this->assertEquals(array(), $this->cache->getFolderContents('foo'));
}


Loading…
Cancel
Save