fix illegal usage of unlink in test case

This commit is contained in:
Robin Appelman 2013-07-01 18:11:33 +02:00
parent ea44f0e20f
commit 1302602173
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ class Scanner extends \PHPUnit_Framework_TestCase {
$this->scanner->scan('');
$this->assertTrue($this->cache->inCache('folder/bar.txt'));
$this->storage->unlink('/folder');
$this->storage->rmdir('/folder');
$this->scanner->scan('', \OC\Files\Cache\Scanner::SCAN_SHALLOW);
$this->assertFalse($this->cache->inCache('folder'));
$this->assertFalse($this->cache->inCache('folder/bar.txt'));