Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/Connector/Sabre/NodeTest.php')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/NodeTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/NodeTest.php b/apps/dav/tests/unit/Connector/Sabre/NodeTest.php
index f0991d05992..5d71a705362 100644
--- a/apps/dav/tests/unit/Connector/Sabre/NodeTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/NodeTest.php
@@ -67,16 +67,16 @@ class NodeTest extends \Test\TestCase {
->getMock();
$info->expects($this->any())
->method('getPermissions')
- ->will($this->returnValue($permissions));
+ ->willReturn($permissions);
$info->expects($this->any())
->method('isShared')
- ->will($this->returnValue($shared));
+ ->willReturn($shared);
$info->expects($this->any())
->method('isMounted')
- ->will($this->returnValue($mounted));
+ ->willReturn($mounted);
$info->expects($this->any())
->method('getType')
- ->will($this->returnValue($type));
+ ->willReturn($type);
$view = $this->getMockBuilder(View::class)
->disableOriginalConstructor()
->getMock();