mirror of
https://github.com/nextcloud/server.git
synced 2026-03-29 22:03:27 -04:00
add test for non existing file by id
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
5d5cfefd35
commit
aa6f7947ba
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue