Skip to content

Commit

Permalink
fix(test): Add missing parameter for ActivityManager constructor
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
  • Loading branch information
artonge authored and backportbot[bot] committed Sep 20, 2024
1 parent 3bd7337 commit 5afad35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Controller/APIv1ControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ public function testGet(string $user, int $start, int $count, array $expected):
$this->createMock(IUserSession::class),
$config,
\OC::$server->query(IValidator::class),
$this->createMock(IL10N::class)
\OC::$server->query(\OCP\RichObjectStrings\IRichTextFormatter::class),
$this->createMock(IL10N::class),
);
$activityManager->registerProvider(Provider::class);
$activityManager->registerSetting(Setting1::class);
Expand Down

0 comments on commit 5afad35

Please sign in to comment.