Ver código fonte

add test for non existing file by id

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v15.0.0RC1
Robin Appelman 5 anos atrás
pai
commit
aa6f7947ba
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      tests/lib/Files/Cache/CacheTest.php

+ 1
- 0
tests/lib/Files/Cache/CacheTest.php Ver arquivo

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


Carregando…
Cancelar
Salvar