Use default empty data values when testing

This commit is contained in:
Zach Borboa
2013-12-13 21:07:57 -08:00
parent efbc9d2df7
commit 791efb40e1
+1 -1
View File
@@ -8,7 +8,7 @@ class Test {
$this->curl->setOpt(CURLOPT_SSL_VERIFYHOST, FALSE);
}
function server($request_method, $data='') {
function server($request_method, $data=array()) {
$request_method = strtolower($request_method);
$this->curl->$request_method(self::TEST_URL, $data);
return $this->curl->response;