Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2020-03-10 17:23:33 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-03-27 14:53:44 +0300
commit55081b7fd29b58600d5e0d13ed678de902098e4f (patch)
tree452a7b89b88a15f9469f22209e7b66b9d4b010de /apps/dav/tests
parent80b7ef9b4168ef32ef15f2bf98ac515d59b6d2f4 (diff)
RequestTestCase: Default type for headers needs to be array
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTestCase.php2
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);
}