fix cache scanner test case

This commit is contained in:
Robin Appelman 2012-10-10 17:45:47 +02:00
parent 08bb5dbe3a
commit a2785f57d2
1 changed files with 1 additions and 2 deletions

View File

@ -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() {