diff options
author | Robin Appelman <robin@icewind.nl> | 2017-01-04 15:13:02 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-01-04 15:15:47 +0100 |
commit | 968de70bc57f6c5a88c2c688e1c466d419538709 (patch) | |
tree | 3c7dd2f6882475dfa04064a51f0fa3b440346765 /tests | |
parent | 9dbcc1a177ea490d20c49186a8f8090342ecb5a9 (diff) | |
download | nextcloud-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.php | 5 |
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); |