diff options
Diffstat (limited to 'tests/php/Controller/ChatControllerTest.php')
-rw-r--r-- | tests/php/Controller/ChatControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/php/Controller/ChatControllerTest.php b/tests/php/Controller/ChatControllerTest.php index 250c92c59..92473c7fd 100644 --- a/tests/php/Controller/ChatControllerTest.php +++ b/tests/php/Controller/ChatControllerTest.php @@ -23,7 +23,6 @@ namespace OCA\Talk\Tests\php\Controller; -use OC\Security\TrustedDomainHelper; use OCA\Talk\Chat\AutoComplete\SearchPlugin; use OCA\Talk\Chat\ChatManager; use OCA\Talk\Chat\MessageParser; @@ -49,6 +48,7 @@ use OCP\IRequest; use OCP\IUser; use OCP\IUserManager; use OCP\RichObjectStrings\IValidator; +use OCP\Security\ITrustedDomainHelper; use OCP\UserStatus\IManager as IUserStatusManager; use PHPUnit\Framework\Constraint\Callback; use PHPUnit\Framework\MockObject\MockObject; @@ -88,7 +88,7 @@ class ChatControllerTest extends TestCase { protected $timeFactory; /** @var IValidator|MockObject */ protected $richObjectValidator; - /** @var TrustedDomainHelper|MockObject */ + /** @var ITrustedDomainHelper|MockObject */ protected $trustedDomainHelper; /** @var IL10N|MockObject */ private $l; @@ -121,7 +121,7 @@ class ChatControllerTest extends TestCase { $this->eventDispatcher = $this->createMock(IEventDispatcher::class); $this->timeFactory = $this->createMock(ITimeFactory::class); $this->richObjectValidator = $this->createMock(IValidator::class); - $this->trustedDomainHelper = $this->createMock(TrustedDomainHelper::class); + $this->trustedDomainHelper = $this->createMock(ITrustedDomainHelper::class); $this->l = $this->createMock(IL10N::class); $this->room = $this->createMock(Room::class); |