From 5c222f0383d31267297ce90b31f0ac4edde76cb2 Mon Sep 17 00:00:00 2001 From: "jason B." Date: Sun, 14 Sep 2014 10:35:07 -0400 Subject: [PATCH] Update IntegrationTestCase.php --- src/TestSuite/IntegrationTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestSuite/IntegrationTestCase.php b/src/TestSuite/IntegrationTestCase.php index 43ce8b9e1f6..811d49362b6 100644 --- a/src/TestSuite/IntegrationTestCase.php +++ b/src/TestSuite/IntegrationTestCase.php @@ -320,7 +320,7 @@ protected function _buildRequest($url, $method, $data) { 'cookies' => $this->_cookie, 'session' => $session, ]; - $env[]; + $env = []; if (isset($this->_request['headers'])) { foreach ($this->_request['headers'] as $k => $v) { $env['HTTP_' . str_replace('-', '_', strtoupper($k))] = $v;