aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-08-09 16:01:09 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-09 16:01:09 +0200
commitdb27bbf90d916193f4884f96570811913c2b8b9e (patch)
tree6b768554069af53a1234be010e675feb9b5f388b /tests/lib
parentba7cf03daf4028806b9950ea2730c9282596b9a7 (diff)
downloadnextcloud-server-db27bbf90d916193f4884f96570811913c2b8b9e.tar.gz
nextcloud-server-db27bbf90d916193f4884f96570811913c2b8b9e.zip
Fix CacheTest
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Files/Cache/CacheTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/Cache/CacheTest.php b/tests/lib/Files/Cache/CacheTest.php
index 5e6301d689a..bc95a9004f8 100644
--- a/tests/lib/Files/Cache/CacheTest.php
+++ b/tests/lib/Files/Cache/CacheTest.php
@@ -352,7 +352,7 @@ class CacheTest extends \Test\TestCase {
$id4 = $this->cache->put($file4, $fileData['foo2']);
$id5 = $this->cache->put($file5, $fileData['foo3']);
- $tagManager = \OC::$server->getTagManager()->load('files', null, null, $userId);
+ $tagManager = \OC::$server->getTagManager()->load('files', [], false, $userId);
$this->assertTrue($tagManager->tagAs($id1, 'tag1'));
$this->assertTrue($tagManager->tagAs($id1, 'tag2'));
$this->assertTrue($tagManager->tagAs($id2, 'tag2'));
@@ -422,7 +422,7 @@ class CacheTest extends \Test\TestCase {
$id4 = $this->cache->put($file4, $fileData['foo2']);
$id5 = $this->cache->put($file5, $fileData['foo3']);
- $tagManager = \OC::$server->getTagManager()->load('files', null, null, $userId);
+ $tagManager = \OC::$server->getTagManager()->load('files', [], false, $userId);
$this->assertTrue($tagManager->tagAs($id1, 'tag1'));
$this->assertTrue($tagManager->tagAs($id1, 'tag2'));
$this->assertTrue($tagManager->tagAs($id2, 'tag2'));