From 55081b7fd29b58600d5e0d13ed678de902098e4f Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 10 Mar 2020 15:23:33 +0100 Subject: [PATCH] RequestTestCase: Default type for headers needs to be array Signed-off-by: Georg Ehrke --- .../tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php index 771d73dec5f..3624a9cc30e 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php @@ -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); }