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>
Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
  • Loading branch information
artonge authored and mpivchev committed Sep 20, 2024
1 parent 7b7d464 commit a6808ab
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 a6808ab

Please sign in to comment.