summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php')
-rw-r--r--apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php b/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php
index 95aebd449c7..fd0301c7782 100644
--- a/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php
+++ b/apps/dav/tests/unit/BackgroundJob/RefreshWebcalJobTest.php
@@ -96,7 +96,7 @@ class RefreshWebcalJobTest extends TestCase {
$this->config->expects($this->once())
->method('getAppValue')
->with('dav', 'calendarSubscriptionRefreshRate', 'P1W')
- ->will($this->returnValue('P1W'));
+ ->willReturn('P1W');
$this->timeFactory->expects($this->once())
->method('getTime')