one additional test case for the cache updater
This commit is contained in:
parent
438d3c21f6
commit
cc0a0df88b
|
@ -99,6 +99,11 @@ class Updater extends \PHPUnit_Framework_TestCase {
|
||||||
$this->assertFalse($this->cache->inCache('foo.txt'));
|
$this->assertFalse($this->cache->inCache('foo.txt'));
|
||||||
$cachedData = $this->cache->get('');
|
$cachedData = $this->cache->get('');
|
||||||
$this->assertEquals(2 * $textSize + $imageSize, $cachedData['size']);
|
$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() {
|
public function testRename() {
|
||||||
|
|
Loading…
Reference in New Issue