diff --git a/tests/control/SessionTest.php b/tests/control/SessionTest.php index 3b54f6200..036de875b 100644 --- a/tests/control/SessionTest.php +++ b/tests/control/SessionTest.php @@ -113,7 +113,7 @@ class SessionTest extends SapphireTest { // Verify a started session resets our values (initiated by $_SESSION object) /** @var Session $s3 */ - $s3 = Injector::inst()->create('Session', []); + $s3 = Injector::inst()->create('Session', array()); foreach ($data as $key => $value) { $s3->inst_set($key, $value); }