#!perl use Cassandane::Tiny; sub test_invite_from_nonsched :VirtDomains :min_version_3_0 { my ($self) = @_; my $service = $self->{instance}->get_service("http"); my $CalDAV = Net::CalDAVTalk->new( user => "cassandane%example.com", password => 'pass', host => $service->host(), port => $service->port(), scheme => 'http', url => '/', expandurl => 1, ); my $CalendarId = $CalDAV->NewCalendar({name => 'hello'}); $self->assert_not_null($CalendarId); my $uuid = "6de280c9-edff-4019-8ebd-cfebc73f8201"; my $href = "$CalendarId/$uuid.ics"; my $card = <Request('PUT', $href, $card, 'Content-Type' => 'text/calendar'); my $data = $self->{instance}->getnotify(); my $extra = <Request('PUT', $href, $card, 'Content-Type' => 'text/calendar'); $self->assert_caldav_notified( { recipient => "friend\@example.com", is_update => JSON::false, method => 'REQUEST' }, ); }