Browse Source

RequestTestCase: Default type for headers needs to be array

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
tags/v19.0.0beta1
Georg Ehrke 4 years ago
parent
commit
55081b7fd2
No account linked to committer's email address

+ 1
- 1
apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php View File

@@ -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…
Cancel
Save