diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-14 17:32:49 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-14 17:32:49 +0200 |
commit | 160a0dfebaeb21cc75d7166dfbac6d0ef1a51460 (patch) | |
tree | 28e2555c97462d60356ef933d5c71c5326649747 /tests/unit/controller/JSONHttpErrorTest.php | |
parent | acc2df1251a1c1b9ec5ede13bdf46d516dc64b0d (diff) |
convert array() to []
Diffstat (limited to 'tests/unit/controller/JSONHttpErrorTest.php')
-rw-r--r-- | tests/unit/controller/JSONHttpErrorTest.php | 2 |
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()); } |