summaryrefslogtreecommitdiffstats
path: root/tests/lib/LoggerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/LoggerTest.php')
-rw-r--r--tests/lib/LoggerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/LoggerTest.php b/tests/lib/LoggerTest.php
index fa4e481ac48..fd695c8c68d 100644
--- a/tests/lib/LoggerTest.php
+++ b/tests/lib/LoggerTest.php
@@ -37,9 +37,9 @@ class LoggerTest extends TestCase implements IWriter {
public function testInterpolation() {
$logger = $this->logger;
- $logger->warning('{Message {nothing} {user} {foo.bar} a}', array('user' => 'Bob', 'foo.bar' => 'Bar'));
+ $logger->warning('{Message {nothing} {user} {foo.bar} a}', ['user' => 'Bob', 'foo.bar' => 'Bar']);
- $expected = array('2 {Message {nothing} Bob Bar a}');
+ $expected = ['2 {Message {nothing} Bob Bar a}'];
$this->assertEquals($expected, $this->getLogs());
}