summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-10-23 13:48:33 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-10-23 13:48:33 +0200
commit6c1871da06d127abdf7ce2fd5d3beb7683fe42a0 (patch)
tree1c21a9a3d136ba1dc8391e12a37cdfe3ffe0bda8 /tests
parent7c14a173619cce5c3f637888865e0786a727f5c8 (diff)
parent0dcb83203910a8de5bcfaca8cbad9fef1845a2ea (diff)
downloadnextcloud-server-6c1871da06d127abdf7ce2fd5d3beb7683fe42a0.tar.gz
nextcloud-server-6c1871da06d127abdf7ce2fd5d3beb7683fe42a0.zip
Merge pull request #10985 from owncloud/db-cleanup
Cleanup database handling
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);
}