aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Routing/RoutingTest.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-03-06 18:19:24 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-04-22 12:21:55 +0200
commita0be3ffdf2bf9af77fa9cdec4c7bea415ab25d62 (patch)
treef4edc6a835f807c8b166351135d9e5e7c295dddd /tests/lib/AppFramework/Routing/RoutingTest.php
parent733a81813946d3d00bb403f6f4afaa1f177003a6 (diff)
downloadnextcloud-server-a0be3ffdf2bf9af77fa9cdec4c7bea415ab25d62.tar.gz
nextcloud-server-a0be3ffdf2bf9af77fa9cdec4c7bea415ab25d62.zip
fix: Fix tests following OC_App migrations to IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/AppFramework/Routing/RoutingTest.php')
-rw-r--r--tests/lib/AppFramework/Routing/RoutingTest.php19
1 files changed, 13 insertions, 6 deletions
diff --git a/tests/lib/AppFramework/Routing/RoutingTest.php b/tests/lib/AppFramework/Routing/RoutingTest.php
index c9812a5dfb7..c5e6f70cdc6 100644
--- a/tests/lib/AppFramework/Routing/RoutingTest.php
+++ b/tests/lib/AppFramework/Routing/RoutingTest.php
@@ -6,6 +6,7 @@ use OC\AppFramework\DependencyInjection\DIContainer;
use OC\AppFramework\Routing\RouteConfig;
use OC\Route\Route;
use OC\Route\Router;
+use OCP\App\IAppManager;
use OCP\Diagnostics\IEventLogger;
use OCP\IConfig;
use OCP\IRequest;
@@ -142,7 +143,8 @@ class RoutingTest extends \Test\TestCase {
$this->createMock(IRequest::class),
$this->createMock(IConfig::class),
$this->createMock(IEventLogger::class),
- $this->createMock(ContainerInterface::class)
+ $this->createMock(ContainerInterface::class),
+ $this->createMock(IAppManager::class),
])
->getMock();
@@ -169,7 +171,8 @@ class RoutingTest extends \Test\TestCase {
$this->createMock(IRequest::class),
$this->createMock(IConfig::class),
$this->createMock(IEventLogger::class),
- $this->createMock(ContainerInterface::class)
+ $this->createMock(ContainerInterface::class),
+ $this->createMock(IAppManager::class),
])
->getMock();
@@ -235,7 +238,8 @@ class RoutingTest extends \Test\TestCase {
$this->createMock(IRequest::class),
$this->createMock(IConfig::class),
$this->createMock(IEventLogger::class),
- $this->createMock(ContainerInterface::class)
+ $this->createMock(ContainerInterface::class),
+ $this->createMock(IAppManager::class),
])
->getMock();
@@ -291,7 +295,8 @@ class RoutingTest extends \Test\TestCase {
$this->createMock(IRequest::class),
$this->createMock(IConfig::class),
$this->createMock(IEventLogger::class),
- $this->createMock(ContainerInterface::class)
+ $this->createMock(ContainerInterface::class),
+ $this->createMock(IAppManager::class),
])
->getMock();
@@ -324,7 +329,8 @@ class RoutingTest extends \Test\TestCase {
$this->createMock(IRequest::class),
$this->createMock(IConfig::class),
$this->createMock(IEventLogger::class),
- $this->createMock(ContainerInterface::class)
+ $this->createMock(ContainerInterface::class),
+ $this->createMock(IAppManager::class),
])
->getMock();
@@ -377,7 +383,8 @@ class RoutingTest extends \Test\TestCase {
$this->createMock(IRequest::class),
$this->createMock(IConfig::class),
$this->createMock(IEventLogger::class),
- $this->createMock(ContainerInterface::class)
+ $this->createMock(ContainerInterface::class),
+ $this->createMock(IAppManager::class),
])
->getMock();