Merge pull request #21703 from nextcloud/backport/18895/stable19

[stable19] Changes the Birthday calendar color to slightly brighter one
This commit is contained in:
Morris Jobke 2020-07-06 14:37:32 +02:00 committed by GitHub
commit 341757945f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ class BirthdayService {
} }
$this->calDavBackEnd->createCalendar($principal, self::BIRTHDAY_CALENDAR_URI, [ $this->calDavBackEnd->createCalendar($principal, self::BIRTHDAY_CALENDAR_URI, [
'{DAV:}displayname' => 'Contact birthdays', '{DAV:}displayname' => 'Contact birthdays',
'{http://apple.com/ns/ical/}calendar-color' => '#FFFFCA', '{http://apple.com/ns/ical/}calendar-color' => '#E9D859',
'components' => 'VEVENT', 'components' => 'VEVENT',
]); ]);

View File

@ -343,7 +343,7 @@ class BirthdayServiceTest extends TestCase {
->method('createCalendar') ->method('createCalendar')
->with('principal001', 'contact_birthdays', [ ->with('principal001', 'contact_birthdays', [
'{DAV:}displayname' => 'Contact birthdays', '{DAV:}displayname' => 'Contact birthdays',
'{http://apple.com/ns/ical/}calendar-color' => '#FFFFCA', '{http://apple.com/ns/ical/}calendar-color' => '#E9D859',
'components' => 'VEVENT', 'components' => 'VEVENT',
]); ]);
$this->service->ensureCalendarExists('principal001'); $this->service->ensureCalendarExists('principal001');