Bläddra i källkod

fix: Fix RouterTest by adding IAppManager

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/44025/head
Côme Chilliet 2 månader sedan
förälder
incheckning
1b5a0c3e1c
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2
    0
      tests/lib/Route/RouterTest.php

+ 2
- 0
tests/lib/Route/RouterTest.php Visa fil

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

Laddar…
Avbryt
Spara