RequestTestCase: Default type for headers needs to be array
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
80b7ef9b41
commit
55081b7fd2
|
@ -92,7 +92,7 @@ abstract class RequestTestCase extends TestCase {
|
|||
* @return \Sabre\HTTP\Response
|
||||
* @throws \Exception
|
||||
*/
|
||||
protected function request($view, $user, $password, $method, $url, $body = null, $headers = null) {
|
||||
protected function request($view, $user, $password, $method, $url, $body = null, $headers = []) {
|
||||
if (is_string($body)) {
|
||||
$body = $this->getStream($body);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue