aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Settings/Controller/CheckSetupControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Settings/Controller/CheckSetupControllerTest.php')
-rw-r--r--tests/Settings/Controller/CheckSetupControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Settings/Controller/CheckSetupControllerTest.php b/tests/Settings/Controller/CheckSetupControllerTest.php
index 173c0a1f85f..deca75b4b26 100644
--- a/tests/Settings/Controller/CheckSetupControllerTest.php
+++ b/tests/Settings/Controller/CheckSetupControllerTest.php
@@ -40,7 +40,7 @@ use OCP\IURLGenerator;
use OCP\Lock\ILockingProvider;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Http\Message\ResponseInterface;
-use Symfony\Component\EventDispatcher\EventDispatcher;
+use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Test\TestCase;
use OC\IntegrityCheck\Checker;
@@ -67,7 +67,7 @@ class CheckSetupControllerTest extends TestCase {
private $logger;
/** @var Checker|\PHPUnit_Framework_MockObject_MockObject */
private $checker;
- /** @var EventDispatcher|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var EventDispatcherInterface|\PHPUnit_Framework_MockObject_MockObject */
private $dispatcher;
/** @var Connection|\PHPUnit_Framework_MockObject_MockObject */
private $db;
@@ -105,7 +105,7 @@ class CheckSetupControllerTest extends TestCase {
->will($this->returnCallback(function($message, array $replace) {
return vsprintf($message, $replace);
}));
- $this->dispatcher = $this->getMockBuilder(EventDispatcher::class)
+ $this->dispatcher = $this->getMockBuilder(EventDispatcherInterface::class)
->disableOriginalConstructor()->getMock();
$this->checker = $this->getMockBuilder('\OC\IntegrityCheck\Checker')
->disableOriginalConstructor()->getMock();