diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-07-07 11:05:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-07 11:05:00 +0200 |
commit | b4deba207856e92adfbf7239ea7d2420157993dd (patch) | |
tree | 22bc71158a91e74e1d28c639c0801a735a78db76 /tests | |
parent | b1520a645833c2047103a2cf550f5c21b1c25586 (diff) | |
parent | ca3a6ec6077e4248d56550b1acb19ab72546e808 (diff) | |
download | nextcloud-server-b4deba207856e92adfbf7239ea7d2420157993dd.tar.gz nextcloud-server-b4deba207856e92adfbf7239ea7d2420157993dd.zip |
Merge pull request #5483 from nextcloud/issue-5075-png-files-for-activity-emails
Use PNGs for icons in activity emails
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Settings/Activity/SecurityProviderTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Settings/Activity/SecurityProviderTest.php b/tests/Settings/Activity/SecurityProviderTest.php index 2abc14654f1..21fc28f3c3b 100644 --- a/tests/Settings/Activity/SecurityProviderTest.php +++ b/tests/Settings/Activity/SecurityProviderTest.php @@ -25,8 +25,8 @@ namespace Tests\Settings\Activity; use InvalidArgumentException; use OC\Settings\Activity\SecurityProvider; use OCP\Activity\IEvent; +use OCP\Activity\IManager; use OCP\IL10N; -use OCP\ILogger; use OCP\IURLGenerator; use OCP\L10N\IFactory; use PHPUnit_Framework_MockObject_MockObject; @@ -34,14 +34,14 @@ use Test\TestCase; class SecurityProviderTest extends TestCase { - /** @var IL10N|PHPUnit_Framework_MockObject_MockObject */ + /** @var IFactory|PHPUnit_Framework_MockObject_MockObject */ private $l10n; /** @var IURLGenerator|PHPUnit_Framework_MockObject_MockObject */ private $urlGenerator; - /** @var ILogger|PHPUnit_Framework_MockObject_MockObject */ - private $logger; + /** @var IManager|PHPUnit_Framework_MockObject_MockObject */ + private $activityManager; /** @var SecurityProvider */ private $provider; @@ -51,9 +51,9 @@ class SecurityProviderTest extends TestCase { $this->l10n = $this->createMock(IFactory::class); $this->urlGenerator = $this->createMock(IURLGenerator::class); - $this->logger = $this->createMock(ILogger::class); + $this->activityManager = $this->createMock(IManager::class); - $this->provider = new SecurityProvider($this->l10n, $this->urlGenerator, $this->logger); + $this->provider = new SecurityProvider($this->l10n, $this->urlGenerator, $this->activityManager); } public function testParseUnrelated() { |