From dd40aba3f3aea2de769d9015ee4c59eb5ac44f17 Mon Sep 17 00:00:00 2001 From: Master Yoda Date: Fri, 6 Jul 2018 10:29:30 -0700 Subject: [PATCH] Change array defaults in FeatureResponseTest:getFeatureResponse --- tests/system/Test/FeatureResponseTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);