Browse Source

Update IntegrationTestCase.php

jason B. 11 years ago
parent
commit
5c222f0383
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/TestSuite/IntegrationTestCase.php

+ 1 - 1
src/TestSuite/IntegrationTestCase.php

@@ -320,7 +320,7 @@ class IntegrationTestCase extends TestCase {
 			'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;