Fix tags unit test

This commit is contained in:
Robin Appelman 2014-10-20 15:09:19 +02:00
parent d83b11d34a
commit 0dcb832039
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}