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
parent
commit
5cfab229db
No known key found for this signature in database GPG Key ID: A3E2F658B28C760A
  1. 1
      tests/lib/Route/RouterTest.php

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

Loading…
Cancel
Save