aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-03-06 22:13:14 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-04-22 12:21:57 +0200
commit1b5a0c3e1ca6b6321695d3995d80f3c37c64966f (patch)
tree68fa3a8bc8fb4e949b36e5b7426d575729cf43d1 /tests
parenta0be3ffdf2bf9af77fa9cdec4c7bea415ab25d62 (diff)
downloadnextcloud-server-1b5a0c3e1ca6b6321695d3995d80f3c37c64966f.tar.gz
nextcloud-server-1b5a0c3e1ca6b6321695d3995d80f3c37c64966f.zip
fix: Fix RouterTest by adding IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Route/RouterTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/Route/RouterTest.php b/tests/lib/Route/RouterTest.php
index 301058f74a6..89cd0489616 100644
--- a/tests/lib/Route/RouterTest.php
+++ b/tests/lib/Route/RouterTest.php
@@ -24,6 +24,7 @@ declare(strict_types=1);
namespace Test\Route;
use OC\Route\Router;
+use OCP\App\IAppManager;
use OCP\Diagnostics\IEventLogger;
use OCP\IConfig;
use OCP\IRequest;
@@ -54,6 +55,7 @@ class RouterTest extends TestCase {
$this->createMock(IConfig::class),
$this->createMock(IEventLogger::class),
$this->createMock(ContainerInterface::class),
+ $this->createMock(IAppManager::class),
);
$this->assertEquals('/index.php/apps/files/', $router->generate('files.view.index'));