summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Connector/Sabre/FileTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/Connector/Sabre/FileTest.php')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/FileTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/FileTest.php b/apps/dav/tests/unit/Connector/Sabre/FileTest.php
index 999326463a1..31344b36463 100644
--- a/apps/dav/tests/unit/Connector/Sabre/FileTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/FileTest.php
@@ -48,6 +48,9 @@ class FileTest extends \Test\TestCase {
public function setUp() {
parent::setUp();
+ unset($_SERVER['HTTP_OC_CHUNKED']);
+ unset($_SERVER['CONTENT_LENGTH']);
+ unset($_SERVER['REQUEST_METHOD']);
\OC_Hook::clear();