aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastianKrupinski <krupinskis05@gmail.com>2025-05-08 13:41:33 -0400
committerSebastianKrupinski <krupinskis05@gmail.com>2025-05-08 13:41:33 -0400
commit6144a90a712be96f631f56b4d25552668cc7b093 (patch)
tree19c54be6a2aff0f28e97b1584f6f6669d7df1f62
parente210924b1034b6893df57e00e92cb1d5a9798205 (diff)
downloadnextcloud-server-fix/refactor-imip.tar.gz
nextcloud-server-fix/refactor-imip.zip
fixup! fix: aliases and capitalization of emailsfix/refactor-imip
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
-rw-r--r--apps/dav/lib/CalDAV/CalendarImpl.php2
-rw-r--r--apps/dav/tests/unit/CalDAV/CalendarImplTest.php11
2 files changed, 6 insertions, 7 deletions
diff --git a/apps/dav/lib/CalDAV/CalendarImpl.php b/apps/dav/lib/CalDAV/CalendarImpl.php
index cc76b898470..be191f66fa8 100644
--- a/apps/dav/lib/CalDAV/CalendarImpl.php
+++ b/apps/dav/lib/CalDAV/CalendarImpl.php
@@ -30,7 +30,7 @@ use Sabre\VObject\Property;
use Sabre\VObject\Reader;
use function Sabre\Uri\split as uriSplit;
-class CalendarImpl implements ICreateFromString, IHandleImip, IHandleImipMessage, ICalendarIsWritable, ICalendarIsShared, ICalendarIsWritable, ICalendarIsShared, ICalendarExport {
+class CalendarImpl implements ICreateFromString, IHandleImip, IHandleImipMessage, ICalendarIsWritable, ICalendarIsShared, ICalendarIsShared, ICalendarExport {
public function __construct(
private Calendar $calendar,
/** @var array<string, mixed> */
diff --git a/apps/dav/tests/unit/CalDAV/CalendarImplTest.php b/apps/dav/tests/unit/CalDAV/CalendarImplTest.php
index 0a07a518407..792695a4936 100644
--- a/apps/dav/tests/unit/CalDAV/CalendarImplTest.php
+++ b/apps/dav/tests/unit/CalDAV/CalendarImplTest.php
@@ -18,7 +18,6 @@ use PHPUnit\Framework\MockObject\MockObject;
use Sabre\VObject\Component\VCalendar;
use Sabre\VObject\Component\VEvent;
use Sabre\VObject\ITip\Message;
-use Sabre\VObject\Reader;
class CalendarImplTest extends \Test\TestCase {
@@ -160,7 +159,7 @@ class CalendarImplTest extends \Test\TestCase {
$schedulingPlugin->expects(self::once())
->method('getAddressesForPrincipal')
->with($this->calendar->getPrincipalURI())
- ->willReturn($userAddressess);
+ ->willReturn($userAddressess);
$server = $this->createMock(Server::class);
$server->expects($this->any())
@@ -210,7 +209,7 @@ class CalendarImplTest extends \Test\TestCase {
$schedulingPlugin->expects(self::once())
->method('getAddressesForPrincipal')
->with($this->calendar->getPrincipalURI())
- ->willReturn($userAddressess);
+ ->willReturn($userAddressess);
$server = $this->createMock(Server::class);
$server->expects($this->any())
@@ -259,7 +258,7 @@ class CalendarImplTest extends \Test\TestCase {
$schedulingPlugin->expects(self::once())
->method('getAddressesForPrincipal')
->with($this->calendar->getPrincipalURI())
- ->willReturn($userAddressess);
+ ->willReturn($userAddressess);
$server = $this->createMock(Server::class);
$server->expects($this->any())
@@ -317,7 +316,7 @@ class CalendarImplTest extends \Test\TestCase {
$schedulingPlugin->expects(self::once())
->method('getAddressesForPrincipal')
->with($this->calendar->getPrincipalURI())
- ->willReturn($userAddressess);
+ ->willReturn($userAddressess);
$server = $this->createMock(Server::class);
$server->expects($this->any())
@@ -377,7 +376,7 @@ class CalendarImplTest extends \Test\TestCase {
$schedulingPlugin->expects(self::once())
->method('getAddressesForPrincipal')
->with($this->calendar->getPrincipalURI())
- ->willReturn($userAddressess);
+ ->willReturn($userAddressess);
$server = $this->createMock(Server::class);
$server->expects($this->any())