summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/stream/quota.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/files/stream/quota.php')
-rw-r--r--tests/lib/files/stream/quota.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/files/stream/quota.php b/tests/lib/files/stream/quota.php
index b11f0ac74c0..d5edace544d 100644
--- a/tests/lib/files/stream/quota.php
+++ b/tests/lib/files/stream/quota.php
@@ -13,6 +13,10 @@ class Quota extends \PHPUnit_Framework_TestCase {
\OC\Files\Stream\Quota::clear();
}
+ /**
+ * @param string $mode
+ * @param integer $limit
+ */
protected function getStream($mode, $limit) {
$source = fopen('php://temp', $mode);
return \OC\Files\Stream\Quota::wrap($source, $limit);