Skip to content

Commit

Permalink
tests(Unit): fix instantion of UserBackend
Browse files Browse the repository at this point in the history
- also add missing import

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Oct 4, 2024
1 parent de99938 commit e1e9931
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/Controller/SAMLControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
use OCP\IUserSession;
use OCP\Security\ICrypto;
use OCP\Security\ITrustedDomainHelper;
use OCP\User\Events\UserLoggedInEvent;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Test\TestCase;
Expand Down Expand Up @@ -103,7 +104,8 @@ function ($param) {
$this->userResolver,
$this->userData,
$this->crypto,
$this->trustedDomainController
$this->trustedDomainController,
$this->eventDispatcher,
);
}

Expand Down

0 comments on commit e1e9931

Please sign in to comment.