summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-03-08 09:20:45 +0100
committerGitHub <noreply@github.com>2021-03-08 09:20:45 +0100
commit615721df822763640adac016d9bf5a637c0a0360 (patch)
treea2a010e45d6d7b44fa44b3642aa87bd4e1560f7f /tests
parent43c8298dec7850d711a96af969832d792a02af5d (diff)
parentf04a2ce19f07a4b63adcfa6111bba4ea66f8cd72 (diff)
downloadnextcloud-server-615721df822763640adac016d9bf5a637c0a0360.tar.gz
nextcloud-server-615721df822763640adac016d9bf5a637c0a0360.zip
Merge pull request #25925 from nextcloud/techdept/psalm/ActionProviderStore
Pimp ActionProviderStore
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Contacts/ContactsMenu/ActionProviderStoreTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Contacts/ContactsMenu/ActionProviderStoreTest.php b/tests/lib/Contacts/ContactsMenu/ActionProviderStoreTest.php
index f20df96f7a2..301c55518f6 100644
--- a/tests/lib/Contacts/ContactsMenu/ActionProviderStoreTest.php
+++ b/tests/lib/Contacts/ContactsMenu/ActionProviderStoreTest.php
@@ -30,9 +30,9 @@ use OC\Contacts\ContactsMenu\Providers\EMailProvider;
use OCP\App\IAppManager;
use OCP\AppFramework\QueryException;
use OCP\Contacts\ContactsMenu\IProvider;
-use OCP\ILogger;
use OCP\IServerContainer;
use OCP\IUser;
+use Psr\Log\LoggerInterface;
use Test\TestCase;
class ActionProviderStoreTest extends TestCase {
@@ -43,7 +43,7 @@ class ActionProviderStoreTest extends TestCase {
/** @var IAppManager|\PHPUnit\Framework\MockObject\MockObject */
private $appManager;
- /** @var ILogger|\PHPUnit\Framework\MockObject\MockObject */
+ /** @var LoggerInterface|\PHPUnit\Framework\MockObject\MockObject */
private $logger;
/** @var ActionProviderStore */
@@ -54,7 +54,7 @@ class ActionProviderStoreTest extends TestCase {
$this->serverContainer = $this->createMock(IServerContainer::class);
$this->appManager = $this->createMock(AppManager::class);
- $this->logger = $this->createMock(ILogger::class);
+ $this->logger = $this->createMock(LoggerInterface::class);
$this->actionProviderStore = new ActionProviderStore($this->serverContainer, $this->appManager, $this->logger);
}