diff options
author | Georg Ehrke <developer@georgehrke.com> | 2020-03-10 15:23:33 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-03-27 12:53:44 +0100 |
commit | 55081b7fd29b58600d5e0d13ed678de902098e4f (patch) | |
tree | 452a7b89b88a15f9469f22209e7b66b9d4b010de /apps | |
parent | 80b7ef9b4168ef32ef15f2bf98ac515d59b6d2f4 (diff) | |
download | nextcloud-server-55081b7fd29b58600d5e0d13ed678de902098e4f.tar.gz nextcloud-server-55081b7fd29b58600d5e0d13ed678de902098e4f.zip |
RequestTestCase: Default type for headers needs to be array
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |