aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files/cache
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-10 17:45:47 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-10 17:45:47 +0200
commita2785f57d2335d06f3fa9900298343c1d7f9253a (patch)
tree82052d75ae021202e388d05b020dba14f0617b96 /tests/lib/files/cache
parent08bb5dbe3a9b2bf502e5c6e0c944867015c3795b (diff)
downloadnextcloud-server-a2785f57d2335d06f3fa9900298343c1d7f9253a.tar.gz
nextcloud-server-a2785f57d2335d06f3fa9900298343c1d7f9253a.zip
fix cache scanner test case
Diffstat (limited to 'tests/lib/files/cache')
-rw-r--r--tests/lib/files/cache/scanner.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/files/cache/scanner.php b/tests/lib/files/cache/scanner.php
index 1f11b9d01d1..e3f47047f54 100644
--- a/tests/lib/files/cache/scanner.php
+++ b/tests/lib/files/cache/scanner.php
@@ -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() {