Skip to content

Commit

Permalink
Change default request data to empty array instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota committed Sep 25, 2014
1 parent 0608665 commit 89860d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TestSuite/IntegrationTestCase.php
Expand Up @@ -240,7 +240,7 @@ public function delete($url) {
* @param array|null $data The request data.
* @return void
*/
protected function _sendRequest($url, $method, $data = null) {
protected function _sendRequest($url, $method, $data = []) {
$request = $this->_buildRequest($url, $method, $data);
$response = new Response();
$dispatcher = DispatcherFactory::create();
Expand Down

0 comments on commit 89860d0

Please sign in to comment.