Skip to content
Permalink
Browse files

Change default request data to empty array instead of null

  • Loading branch information...
dakota committed Sep 25, 2014
1 parent 0608665 commit 89860d0b082680be310e236e1e3cd52964ad1361
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/TestSuite/IntegrationTestCase.php
@@ -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();

0 comments on commit 89860d0

Please sign in to comment.
You can’t perform that action at this time.