diff options
Diffstat (limited to 'apps/dav/tests/unit/CalDAV/CalendarHomeTest.php')
-rw-r--r-- | apps/dav/tests/unit/CalDAV/CalendarHomeTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php b/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php index 364286edd4b..d366db8dba6 100644 --- a/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php +++ b/apps/dav/tests/unit/CalDAV/CalendarHomeTest.php @@ -73,10 +73,10 @@ class CalendarHomeTest extends TestCase { $mkCol = $this->createMock(MkCol::class); $mkCol->method('getResourceType') - ->will($this->returnValue(['{DAV:}collection', - '{urn:ietf:params:xml:ns:caldav}calendar'])); + ->willReturn(['{DAV:}collection', + '{urn:ietf:params:xml:ns:caldav}calendar']); $mkCol->method('getRemainingValues') - ->will($this->returnValue(['... properties ...'])); + ->willReturn(['... properties ...']); $this->backend->expects($this->once()) ->method('createCalendar') |