Skip to content
Snippets Groups Projects
Commit 0dcb8320 authored by Robin Appelman's avatar Robin Appelman
Browse files

Fix tags unit test

parent d83b11d3
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ class Test_Tags extends PHPUnit_Framework_TestCase { ...@@ -34,7 +34,7 @@ class Test_Tags extends PHPUnit_Framework_TestCase {
$this->objectType = uniqid('type_'); $this->objectType = uniqid('type_');
OC_User::createUser($this->user, 'pass'); OC_User::createUser($this->user, 'pass');
OC_User::setUserId($this->user); 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); $this->tagMgr = new OC\TagManager($this->tagMapper, $this->user);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment