summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/CalDAV/OutboxTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/CalDAV/OutboxTest.php')
-rw-r--r--apps/dav/tests/unit/CalDAV/OutboxTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/CalDAV/OutboxTest.php b/apps/dav/tests/unit/CalDAV/OutboxTest.php
index 96bc8ed921d..91e03182be4 100644
--- a/apps/dav/tests/unit/CalDAV/OutboxTest.php
+++ b/apps/dav/tests/unit/CalDAV/OutboxTest.php
@@ -47,7 +47,7 @@ class OutboxTest extends TestCase {
$this->config->expects($this->once())
->method('getAppValue')
->with('dav', 'disableFreeBusy', 'no')
- ->will($this->returnValue('no'));
+ ->willReturn('no');
$this->assertEquals([
[
@@ -82,7 +82,7 @@ class OutboxTest extends TestCase {
$this->config->expects($this->once())
->method('getAppValue')
->with('dav', 'disableFreeBusy', 'no')
- ->will($this->returnValue('yes'));
+ ->willReturn('yes');
$this->assertEquals([
[