aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/HelperStorageTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/HelperStorageTest.php')
-rw-r--r--tests/lib/HelperStorageTest.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/lib/HelperStorageTest.php b/tests/lib/HelperStorageTest.php
index ddf32d94724..4d5002de3ab 100644
--- a/tests/lib/HelperStorageTest.php
+++ b/tests/lib/HelperStorageTest.php
@@ -84,7 +84,7 @@ class HelperStorageTest extends \Test\TestCase {
/**
* Test getting the storage info
*/
- public function testGetStorageInfo() {
+ public function testGetStorageInfo(): void {
$homeStorage = $this->getStorageMock(12);
\OC\Files\Filesystem::mount($homeStorage, [], '/' . $this->user . '/files');
$homeStorage->file_put_contents('test.txt', '01234');
@@ -111,7 +111,7 @@ class HelperStorageTest extends \Test\TestCase {
/**
* Test getting the storage info, ignoring extra mount points
*/
- public function testGetStorageInfoExcludingExtStorage() {
+ public function testGetStorageInfoExcludingExtStorage(): void {
$homeStorage = $this->getStorageMock(12);
\OC\Files\Filesystem::mount($homeStorage, [], '/' . $this->user . '/files');
$homeStorage->file_put_contents('test.txt', '01234');
@@ -133,7 +133,7 @@ class HelperStorageTest extends \Test\TestCase {
/**
* Test getting the storage info, including extra mount points
*/
- public function testGetStorageInfoIncludingExtStorage() {
+ public function testGetStorageInfoIncludingExtStorage(): void {
$homeStorage = new \OC\Files\Storage\Temporary([]);
\OC\Files\Filesystem::mount($homeStorage, [], '/' . $this->user . '/files');
$homeStorage->file_put_contents('test.txt', '01234');
@@ -162,7 +162,7 @@ class HelperStorageTest extends \Test\TestCase {
* when user has no quota set, even when quota ext storage option
* was set
*/
- public function testGetStorageInfoIncludingExtStorageWithNoUserQuota() {
+ public function testGetStorageInfoIncludingExtStorageWithNoUserQuota(): void {
$homeStorage = $this->getStorageMock(12);
\OC\Files\Filesystem::mount($homeStorage, [], '/' . $this->user . '/files');
$homeStorage->file_put_contents('test.txt', '01234');
@@ -186,7 +186,7 @@ class HelperStorageTest extends \Test\TestCase {
/**
* Test getting the storage info with quota enabled
*/
- public function testGetStorageInfoWithQuota() {
+ public function testGetStorageInfoWithQuota(): void {
$homeStorage = $this->getStorageMock(12);
$homeStorage->file_put_contents('test.txt', '01234');
$homeStorage = new \OC\Files\Storage\Wrapper\Quota(
@@ -206,7 +206,7 @@ class HelperStorageTest extends \Test\TestCase {
/**
* Test getting the storage info when data exceeds quota
*/
- public function testGetStorageInfoWhenSizeExceedsQuota() {
+ public function testGetStorageInfoWhenSizeExceedsQuota(): void {
$homeStorage = $this->getStorageMock(12);
$homeStorage->file_put_contents('test.txt', '0123456789');
$homeStorage = new \OC\Files\Storage\Wrapper\Quota(
@@ -228,7 +228,7 @@ class HelperStorageTest extends \Test\TestCase {
* Test getting the storage info when the remaining
* free storage space is less than the quota
*/
- public function testGetStorageInfoWhenFreeSpaceLessThanQuota() {
+ public function testGetStorageInfoWhenFreeSpaceLessThanQuota(): void {
$homeStorage = $this->getStorageMock(12);
$homeStorage->file_put_contents('test.txt', '01234');
$homeStorage = new \OC\Files\Storage\Wrapper\Quota(