From 5afad353e703d5c387e89226addbe19709647f9d Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Fri, 20 Sep 2024 10:14:50 +0200 Subject: [PATCH] fix(test): Add missing parameter for ActivityManager constructor Signed-off-by: Louis Chemineau Signed-off-by: Milen Pivchev --- tests/Controller/APIv1ControllerTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Controller/APIv1ControllerTest.php b/tests/Controller/APIv1ControllerTest.php index e7c73c88c..7c5f39fd9 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);