summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-23 10:04:58 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-02-07 11:23:29 +0100
commit5cfab229db04684a8fb5ff0cd7253227dddf6b61 (patch)
tree8dbb3268ee470c4ff06452c785dba6438c61819b /tests
parentd9dbed91050e80ab15768c278a1aecdfc3a1efda (diff)
downloadnextcloud-server-5cfab229db04684a8fb5ff0cd7253227dddf6b61.tar.gz
nextcloud-server-5cfab229db04684a8fb5ff0cd7253227dddf6b61.zip
Improve test failure output for RouterTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Route/RouterTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/Route/RouterTest.php b/tests/lib/Route/RouterTest.php
index cc7eda199e2..9affa978bf0 100644
--- a/tests/lib/Route/RouterTest.php
+++ b/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'));