diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-01 18:11:33 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-05-28 18:16:23 +0200 |
commit | 1302602173f1cdd2def9702362227b003d17303f (patch) | |
tree | 9354fc1fedcc4b27a03178c704f73c33ae472666 | |
parent | ea44f0e20f9685e5d8396380a5fcb383d9efee90 (diff) | |
download | nextcloud-server-1302602173f1cdd2def9702362227b003d17303f.tar.gz nextcloud-server-1302602173f1cdd2def9702362227b003d17303f.zip |
fix illegal usage of unlink in test case
-rw-r--r-- | tests/lib/files/cache/scanner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/cache/scanner.php b/tests/lib/files/cache/scanner.php index 5182fac8b10..fb06f2dff3d 100644 --- a/tests/lib/files/cache/scanner.php +++ b/tests/lib/files/cache/scanner.php @@ -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')); |