mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Fix tags unit test
This commit is contained in:
parent
d83b11d34a
commit
0dcb832039
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue