summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-01-04 15:13:02 +0100
committerRobin Appelman <robin@icewind.nl>2017-01-04 15:15:47 +0100
commit968de70bc57f6c5a88c2c688e1c466d419538709 (patch)
tree3c7dd2f6882475dfa04064a51f0fa3b440346765 /tests
parent9dbcc1a177ea490d20c49186a8f8090342ecb5a9 (diff)
downloadnextcloud-server-968de70bc57f6c5a88c2c688e1c466d419538709.tar.gz
nextcloud-server-968de70bc57f6c5a88c2c688e1c466d419538709.zip
remove the need to register the quota streamwrapper globally
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/Stream/QuotaTest.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/lib/Files/Stream/QuotaTest.php b/tests/lib/Files/Stream/QuotaTest.php
index d084f0c769c..24b0e7f9474 100644
--- a/tests/lib/Files/Stream/QuotaTest.php
+++ b/tests/lib/Files/Stream/QuotaTest.php
@@ -9,14 +9,11 @@
namespace Test\Files\Stream;
class QuotaTest extends \Test\TestCase {
- protected function tearDown() {
- \OC\Files\Stream\Quota::clear();
- parent::tearDown();
- }
/**
* @param string $mode
* @param integer $limit
+ * @return resource
*/
protected function getStream($mode, $limit) {
$source = fopen('php://temp', $mode);