diff --git a/tests/system/Test/FeatureResponseTest.php b/tests/system/Test/FeatureResponseTest.php
index 49ce991424..9ea02369d2 100644
--- a/tests/system/Test/FeatureResponseTest.php
+++ b/tests/system/Test/FeatureResponseTest.php
@@ -142,7 +142,7 @@ class FeatureResponseTest extends CIUnitTestCase
public function testAssertHeader()
{
- $this->getFeatureResponse('
Hello World
', null, ['foo' => 'bar']);
+ $this->getFeatureResponse('Hello World
', [], ['foo' => 'bar']);
$this->feature->assertHeader('foo');
$this->feature->assertHeader('foo', 'bar');
@@ -237,7 +237,7 @@ class FeatureResponseTest extends CIUnitTestCase
}
- protected function getFeatureResponse($body=null, array $responseOptions = null, array $headers = null)
+ protected function getFeatureResponse($body=null, array $responseOptions = [], array $headers = [])
{
$this->response = new Response(new \Config\App());
$this->response->setBody($body);