fix cache scanner test case
This commit is contained in:
parent
08bb5dbe3a
commit
a2785f57d2
|
@ -94,10 +94,9 @@ class Scanner extends \UnitTestCase {
|
||||||
|
|
||||||
$this->scanner->scan('folder', \OC\Files\Cache\Scanner::SCAN_SHALLOW);
|
$this->scanner->scan('folder', \OC\Files\Cache\Scanner::SCAN_SHALLOW);
|
||||||
|
|
||||||
$cachedDataFolder = $this->cache->get('');
|
|
||||||
$cachedDataFolder2 = $this->cache->get('folder');
|
$cachedDataFolder2 = $this->cache->get('folder');
|
||||||
|
|
||||||
$this->assertNotEqual($cachedDataFolder['size'], -1);
|
$this->assertNotEqual($cachedDataFolder2['size'], -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
function setUp() {
|
function setUp() {
|
||||||
|
|
Loading…
Reference in New Issue