aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/HelperStorageTest.php
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-03-26 09:25:19 +0100
committerGitHub <noreply@github.com>2020-03-26 09:25:19 +0100
commit25ab122245da1456701d93d7178f851b660c3cf7 (patch)
tree0365dc30da369f4fe033186302511aab6687a68b /tests/lib/HelperStorageTest.php
parentb3af054d73801267590e77ae137c56ea0086d6a0 (diff)
parent2ee65f177e4f7e09ad2287f14d564e7068d322fb (diff)
downloadnextcloud-server-25ab122245da1456701d93d7178f851b660c3cf7.tar.gz
nextcloud-server-25ab122245da1456701d93d7178f851b660c3cf7.zip
Merge pull request #20172 from nextcloud/techdebt/phpunit-short-return
Use the shorter phpunit syntax for mocked return values
Diffstat (limited to 'tests/lib/HelperStorageTest.php')
-rw-r--r--tests/lib/HelperStorageTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/HelperStorageTest.php b/tests/lib/HelperStorageTest.php
index 7b2fb665733..29250109d02 100644
--- a/tests/lib/HelperStorageTest.php
+++ b/tests/lib/HelperStorageTest.php
@@ -71,7 +71,7 @@ class HelperStorageTest extends \Test\TestCase {
$this->storageMock->expects($this->once())
->method('free_space')
- ->will($this->returnValue(12));
+ ->willReturn(12);
return $this->storageMock;
}