diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-05-28 14:05:20 +0300 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-05-28 16:04:49 +0300 |
commit | 77649792813efcf200298a8dfdf3586eaa04b377 (patch) | |
tree | 8103179b1048aa82bbd17ed95c20e91e4f7230eb /tests | |
parent | 153d9ba9d65732637fa64476ce83e23b7594a787 (diff) |
Check for free space on touch
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Files/Storage/Wrapper/QuotaTest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib/Files/Storage/Wrapper/QuotaTest.php b/tests/lib/Files/Storage/Wrapper/QuotaTest.php index adfd60d0532..0b80467fcc4 100644 --- a/tests/lib/Files/Storage/Wrapper/QuotaTest.php +++ b/tests/lib/Files/Storage/Wrapper/QuotaTest.php @@ -213,4 +213,9 @@ class QuotaTest extends \Test\Files\Storage\Storage { $instance = $this->getLimitedStorage(0.0); $this->assertFalse($instance->mkdir('foobar')); } + + public function testNoTouchQuotaZero() { + $instance = $this->getLimitedStorage(0.0); + $this->assertFalse($instance->touch('foobar')); + } } |