one additional test case for the cache updater
This commit is contained in:
parent
438d3c21f6
commit
cc0a0df88b
1 changed files with 5 additions and 0 deletions
5
tests/lib/files/cache/updater.php
vendored
5
tests/lib/files/cache/updater.php
vendored
|
@ -99,6 +99,11 @@ class Updater extends \PHPUnit_Framework_TestCase {
|
|||
$this->assertFalse($this->cache->inCache('foo.txt'));
|
||||
$cachedData = $this->cache->get('');
|
||||
$this->assertEquals(2 * $textSize + $imageSize, $cachedData['size']);
|
||||
|
||||
Filesystem::mkdir('bar_folder');
|
||||
$this->assertTrue($this->cache->inCache('bar_folder'));
|
||||
Filesystem::rmdir('bar_folder');
|
||||
$this->assertFalse($this->cache->inCache('bar_folder'));
|
||||
}
|
||||
|
||||
public function testRename() {
|
||||
|
|
Loading…
Reference in a new issue