summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-04-09 18:51:14 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-04-09 21:20:59 +0200
commitc99bdc9eb4c2b003fcddf826b0f1ee3383a30714 (patch)
tree774ab6482e6fb28bb1bc18646155403d9ab486ba /apps/dav/tests/unit/CalDAV/PublicCalendarRootTest.php
parent16091f4424b44d9d8ab6076f1cf9218b1d25da4d (diff)
downloadnextcloud-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.php5
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;
}