Pārlūkot izejas kodu

add test for non existing file by id

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v15.0.0RC1
Robin Appelman pirms 5 gadiem
vecāks
revīzija
aa6f7947ba
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      tests/lib/Files/Cache/CacheTest.php

+ 1
- 0
tests/lib/Files/Cache/CacheTest.php Parādīt failu

@@ -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'));
}


Notiek ielāde…
Atcelt
Saglabāt