diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-04-09 18:51:14 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2017-04-09 21:20:59 +0200 |
commit | c99bdc9eb4c2b003fcddf826b0f1ee3383a30714 (patch) | |
tree | 774ab6482e6fb28bb1bc18646155403d9ab486ba /apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php | |
parent | 16091f4424b44d9d8ab6076f1cf9218b1d25da4d (diff) | |
download | nextcloud-server-c99bdc9eb4c2b003fcddf826b0f1ee3383a30714.tar.gz nextcloud-server-c99bdc9eb4c2b003fcddf826b0f1ee3383a30714.zip |
don't remove owner property for public calendars
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php')
-rw-r--r-- | apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php b/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php index ccef0cf678b..7c424fd0dd1 100644 --- a/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php +++ b/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php @@ -3,6 +3,7 @@ namespace OCA\DAV\Tests\unit\CalDAV; use OCA\DAV\CalDAV\Calendar; +use OCA\DAV\CalDAV\PublicCalendar; use OCA\DAV\Connector\Sabre\Principal; use OCP\IL10N; use OCA\DAV\CalDAV\CalDavBackend; @@ -103,11 +104,11 @@ class PublicCalendarRootTest extends TestCase { $this->backend->createCalendar(self::UNIT_TEST_USER, 'Example', []); $calendarInfo = $this->backend->getCalendarsForUser(self::UNIT_TEST_USER)[0]; - $calendar = new Calendar($this->backend, $calendarInfo, $this->l10n); + $calendar = new PublicCalendar($this->backend, $calendarInfo, $this->l10n); $publicUri = $calendar->setPublishStatus(true); $calendarInfo = $this->backend->getPublicCalendar($publicUri); - $calendar = new Calendar($this->backend, $calendarInfo, $this->l10n); + $calendar = new PublicCalendar($this->backend, $calendarInfo, $this->l10n); return $calendar; } |