diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-07-06 16:00:58 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-11-17 14:08:20 +0100 |
commit | 72a9c35be3dd7a1e54a1ef6a4ed29448a08c1a86 (patch) | |
tree | d9e23247a80262858b0ecb81838db6fcdb3ddd76 /tests | |
parent | 5acabcf5cbcb1db92fd9661bc1ed5735ae316323 (diff) | |
download | nextcloud-server-72a9c35be3dd7a1e54a1ef6a4ed29448a08c1a86.tar.gz nextcloud-server-72a9c35be3dd7a1e54a1ef6a4ed29448a08c1a86.zip |
Remove some IRouter methods
This is not the end. IRouter needs to burn.
But it is a start.
🎵 we didn't start the fire 🎵
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/UrlGeneratorTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/UrlGeneratorTest.php b/tests/lib/UrlGeneratorTest.php index b5db39dbf39..dd2eb2ddc63 100644 --- a/tests/lib/UrlGeneratorTest.php +++ b/tests/lib/UrlGeneratorTest.php @@ -8,11 +8,11 @@ namespace Test; +use OC\Route\Router; use OCP\ICacheFactory; use OCP\IConfig; use OCP\IRequest; use OCP\IURLGenerator; -use OCP\Route\IRouter; /** * Class UrlGeneratorTest @@ -27,7 +27,7 @@ class UrlGeneratorTest extends \Test\TestCase { private $cacheFactory; /** @var \PHPUnit\Framework\MockObject\MockObject|IRequest */ private $request; - /** @var \PHPUnit\Framework\MockObject\MockObject|IRouter */ + /** @var \PHPUnit\Framework\MockObject\MockObject|Router */ private $router; /** @var IURLGenerator */ private $urlGenerator; @@ -39,7 +39,7 @@ class UrlGeneratorTest extends \Test\TestCase { $this->config = $this->createMock(IConfig::class); $this->cacheFactory = $this->createMock(ICacheFactory::class); $this->request = $this->createMock(IRequest::class); - $this->router = $this->createMock(IRouter::class); + $this->router = $this->createMock(Router::class); $this->urlGenerator = new \OC\URLGenerator( $this->config, $this->cacheFactory, |