Browse Source
Improve test failure output for RouterTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/36120/head
Côme Chilliet
4 years ago
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
1 changed files with
1 additions and
0 deletions
-
tests/lib/Route/RouterTest.php
|
|
|
@ -36,6 +36,7 @@ class RouterTest extends TestCase { |
|
|
|
public function testGenerateConsecutively(): void { |
|
|
|
/** @var LoggerInterface $logger */ |
|
|
|
$logger = $this->createMock(LoggerInterface::class); |
|
|
|
$logger->expects($this->never())->method('info'); |
|
|
|
$router = new Router($logger); |
|
|
|
|
|
|
|
$this->assertEquals('/index.php/apps/files/', $router->generate('files.view.index')); |
|
|
|
|