diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-01-06 15:25:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 15:25:20 +0100 |
commit | 73fcb69cad252ad757e61212c3490b2213b132bf (patch) | |
tree | 77533fe6da7e5d140f0b66f7aad1f524743f2147 /tests | |
parent | ced5fbcc9c1c53f9d73c8df32c4dcc0975c78067 (diff) | |
parent | 968de70bc57f6c5a88c2c688e1c466d419538709 (diff) | |
download | nextcloud-server-73fcb69cad252ad757e61212c3490b2213b132bf.tar.gz nextcloud-server-73fcb69cad252ad757e61212c3490b2213b132bf.zip |
Merge pull request #2934 from nextcloud/quota-stream-non-global
remove the need to register the quota streamwrapper globally
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); |