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 <louis@chmn.me>
  • Loading branch information
artonge committed Sep 20, 2024
1 parent 756ee2c commit 543ba40
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 543ba40

Please sign in to comment.