#!perl use Cassandane::Tiny; sub test_apple_location_tz { my ($self) = @_; my $CalDAV = $self->{caldav}; my $CalendarId = $CalDAV->NewCalendar({name => 'foo'}); $self->assert_not_null($CalendarId); my $uuid = "574E2CD0-2D2A-4554-8B63-C7504481D3A9"; my $href = "$CalendarId/$uuid.ics"; my $card = <Request('PUT', $href, $card, 'Content-Type' => 'text/calendar'); my $response = $CalDAV->Request('GET', $href); my $newcard = $response->{content}; $self->assert_matches(qr/geo:-37.810551,144.962840/, $newcard); }