fix cache scanner test case
This commit is contained in:
parent
08bb5dbe3a
commit
a2785f57d2
1 changed files with 1 additions and 2 deletions
3
tests/lib/files/cache/scanner.php
vendored
3
tests/lib/files/cache/scanner.php
vendored
|
@ -94,10 +94,9 @@ class Scanner extends \UnitTestCase {
|
|||
|
||||
$this->scanner->scan('folder', \OC\Files\Cache\Scanner::SCAN_SHALLOW);
|
||||
|
||||
$cachedDataFolder = $this->cache->get('');
|
||||
$cachedDataFolder2 = $this->cache->get('folder');
|
||||
|
||||
$this->assertNotEqual($cachedDataFolder['size'], -1);
|
||||
$this->assertNotEqual($cachedDataFolder2['size'], -1);
|
||||
}
|
||||
|
||||
function setUp() {
|
||||
|
|
Loading…
Reference in a new issue