Skip to content

Commit e1e9931

Browse files
committed
tests(Unit): fix instantion of UserBackend
- also add missing import Signed-off-by: Arthur Schiwon <[email protected]>
1 parent de99938 commit e1e9931

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/unit/Controller/SAMLControllerTest.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
use OCP\IUserSession;
2727
use OCP\Security\ICrypto;
2828
use OCP\Security\ITrustedDomainHelper;
29+
use OCP\User\Events\UserLoggedInEvent;
2930
use PHPUnit\Framework\MockObject\MockObject;
3031
use Psr\Log\LoggerInterface;
3132
use Test\TestCase;
@@ -103,7 +104,8 @@ function ($param) {
103104
$this->userResolver,
104105
$this->userData,
105106
$this->crypto,
106-
$this->trustedDomainController
107+
$this->trustedDomainController,
108+
$this->eventDispatcher,
107109
);
108110
}
109111

0 commit comments

Comments
 (0)