fix: Fix RouterTest by adding IAppManager

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2024-03-06 22:13:14 +01:00
parent a0be3ffdf2
commit 1b5a0c3e1c
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
1 changed files with 2 additions and 0 deletions

View File

@ -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'));