diff --git a/tests/Sabre/CalDAV/SharingPluginTest.php b/tests/Sabre/CalDAV/SharingPluginTest.php index 70b28ce945..6c85a9f549 100644 --- a/tests/Sabre/CalDAV/SharingPluginTest.php +++ b/tests/Sabre/CalDAV/SharingPluginTest.php @@ -45,7 +45,7 @@ public function setup(): void public function testSimple() { - self::assertInstanceOf(\Sabre\CalDAV\SharingPlugin::class, $this->server->getPlugin('caldav-sharing')); + self::assertInstanceOf(SharingPlugin::class, $this->server->getPlugin('caldav-sharing')); self::assertEquals( 'caldav-sharing', $this->caldavSharingPlugin->getPluginInfo()['name'] @@ -75,8 +75,8 @@ public function testBeforeGetShareableCalendar() '{'.Plugin::NS_CALENDARSERVER.'}allowed-sharing-modes', ]); - self::assertInstanceOf(\Sabre\CalDAV\Xml\Property\Invite::class, $props['{'.Plugin::NS_CALENDARSERVER.'}invite']); - self::assertInstanceOf(\Sabre\CalDAV\Xml\Property\AllowedSharingModes::class, $props['{'.Plugin::NS_CALENDARSERVER.'}allowed-sharing-modes']); + self::assertInstanceOf(Xml\Property\Invite::class, $props['{'.Plugin::NS_CALENDARSERVER.'}invite']); + self::assertInstanceOf(Xml\Property\AllowedSharingModes::class, $props['{'.Plugin::NS_CALENDARSERVER.'}allowed-sharing-modes']); } public function testBeforeGetSharedCalendar() @@ -86,8 +86,9 @@ public function testBeforeGetSharedCalendar() '{'.Plugin::NS_CALENDARSERVER.'}invite', ]); - self::assertInstanceOf(\Sabre\CalDAV\Xml\Property\Invite::class, $props['{'.Plugin::NS_CALENDARSERVER.'}invite']); + self::assertInstanceOf(Xml\Property\Invite::class, $props['{'.Plugin::NS_CALENDARSERVER.'}invite']); // self::assertInstanceOf(\Sabre\DAV\Xml\Property\Href::class, $props['{' . Plugin::NS_CALENDARSERVER . '}shared-url']); + } public function testUpdateResourceType() {