summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-10-20 15:09:19 +0200
committerRobin Appelman <icewind@owncloud.com>2014-10-22 12:29:53 +0200
commit0dcb83203910a8de5bcfaca8cbad9fef1845a2ea (patch)
treee896cc81fc861dfe6671d4a4257c3eb7592c9598 /tests
parentd83b11d34acf5baf0d7c8618aa3ca21d501d8cf7 (diff)
downloadnextcloud-server-0dcb83203910a8de5bcfaca8cbad9fef1845a2ea.tar.gz
nextcloud-server-0dcb83203910a8de5bcfaca8cbad9fef1845a2ea.zip
Fix tags unit test
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/tags.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/tags.php b/tests/lib/tags.php
index 2f7a1e817f8..57b64f1cd36 100644
--- a/tests/lib/tags.php
+++ b/tests/lib/tags.php
@@ -34,7 +34,7 @@ class Test_Tags extends PHPUnit_Framework_TestCase {
$this->objectType = uniqid('type_');
OC_User::createUser($this->user, 'pass');
OC_User::setUserId($this->user);
- $this->tagMapper = new OC\Tagging\TagMapper(new OC\AppFramework\Db\Db());
+ $this->tagMapper = new OC\Tagging\TagMapper(\OC::$server->getDb());
$this->tagMgr = new OC\TagManager($this->tagMapper, $this->user);
}