diff options
author | Robin Appelman <robin@icewind.nl> | 2025-06-12 18:34:54 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2025-06-12 18:38:29 +0200 |
commit | 3561937816578a699008c010829142a01580e7bf (patch) | |
tree | 83544b8fccc08e8bb73b81ddbc426180f02bd13b /tests/lib/LoggerTest.php | |
parent | 3cc34ac29da76e17952bfc84ddc1a5f066680d8f (diff) | |
download | nextcloud-server-rector-tests.tar.gz nextcloud-server-rector-tests.zip |
chore: run rector on tests with new rulerector-tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib/LoggerTest.php')
-rw-r--r-- | tests/lib/LoggerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/LoggerTest.php b/tests/lib/LoggerTest.php index 2880fc53fd1..972626eccb4 100644 --- a/tests/lib/LoggerTest.php +++ b/tests/lib/LoggerTest.php @@ -38,9 +38,9 @@ class LoggerTest extends TestCase implements IWriter { private function mockDefaultLogLevel(): void { $this->config->expects($this->any()) ->method('getValue') - ->will(($this->returnValueMap([ + ->willReturnMap([ ['loglevel', ILogger::WARN, ILogger::WARN], - ]))); + ]); } public function testInterpolation(): void { @@ -55,10 +55,10 @@ class LoggerTest extends TestCase implements IWriter { public function testAppCondition(): void { $this->config->expects($this->any()) ->method('getValue') - ->will(($this->returnValueMap([ + ->willReturnMap([ ['loglevel', ILogger::WARN, ILogger::WARN], ['log.condition', [], ['apps' => ['files']]] - ]))); + ]); $logger = $this->logger; $logger->info('Don\'t display info messages'); |