Skip to content

Commit

Permalink
Update IntegrationTestCase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rapsspider committed Sep 14, 2014
1 parent ae4a87a commit 5c222f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TestSuite/IntegrationTestCase.php
Expand Up @@ -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;
Expand Down

0 comments on commit 5c222f0

Please sign in to comment.