diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-17 15:46:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 15:46:18 +0300 |
commit | f8756d96bc7821a1082dd19cb8aea6d0b933505a (patch) | |
tree | 7fc39b205b0f38948fb6965eae8b693ecb4d0055 /tests | |
parent | 73cc4ac1f688cb181e3072490699f054b8c91e8c (diff) | |
parent | 8614eb91db754eec7904841e44fbbbc63ffb013a (diff) |
Merge pull request #7847 from nextcloud/avatarmanager_strict
Fixes for avatarmanager
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AvatarManagerTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/AvatarManagerTest.php b/tests/lib/AvatarManagerTest.php index 83a5cfd9b30..9f2a4f4f337 100644 --- a/tests/lib/AvatarManagerTest.php +++ b/tests/lib/AvatarManagerTest.php @@ -27,6 +27,7 @@ namespace Test; use OC\Avatar; use OC\AvatarManager; use OC\Files\AppData\AppData; +use OC\User\Manager; use OCP\Files\IAppData; use OCP\Files\SimpleFS\ISimpleFolder; use OCP\IConfig; @@ -39,7 +40,7 @@ use OCP\IUserManager; * Class AvatarManagerTest */ class AvatarManagerTest extends \Test\TestCase { - /** @var IUserManager|\PHPUnit_Framework_MockObject_MockObject */ + /** @var Manager|\PHPUnit_Framework_MockObject_MockObject */ private $userManager; /** @var IAppData|\PHPUnit_Framework_MockObject_MockObject */ private $appData; @@ -55,7 +56,7 @@ class AvatarManagerTest extends \Test\TestCase { public function setUp() { parent::setUp(); - $this->userManager = $this->createMock(IUserManager::class); + $this->userManager = $this->createMock(Manager::class); $this->appData = $this->createMock(IAppData::class); $this->l10n = $this->createMock(IL10N::class); $this->logger = $this->createMock(ILogger::class); |