summaryrefslogtreecommitdiffstats
path: root/tests/unit/controller/JSONHttpErrorTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/controller/JSONHttpErrorTest.php')
-rw-r--r--tests/unit/controller/JSONHttpErrorTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/controller/JSONHttpErrorTest.php b/tests/unit/controller/JSONHttpErrorTest.php
index 135095e1f..dfcbd202e 100644
--- a/tests/unit/controller/JSONHttpErrorTest.php
+++ b/tests/unit/controller/JSONHttpErrorTest.php
@@ -23,7 +23,7 @@ class JSONHttpErrorTest extends \PHPUnit_Framework_TestCase {
$ex = new \Exception('hi');
$result = JSONHttpError::error($ex, 3);
- $this->assertEquals(array('message' => 'hi'), $result->getData());
+ $this->assertEquals(['message' => 'hi'], $result->getData());
$this->assertEquals(3, $result->getStatus());
}