diff --git a/tests/Controller/APIv1ControllerTest.php b/tests/Controller/APIv1ControllerTest.php index 548c3e484..77fc888d4 100644 --- a/tests/Controller/APIv1ControllerTest.php +++ b/tests/Controller/APIv1ControllerTest.php @@ -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);