#!perl use Cassandane::Tiny; sub test_put_strip_scheduleforcesend :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 $uuid = "6de280c9-edff-4019-8ebd-cfebc73f8201"; my $href = "Default/$uuid.ics"; my $card = <Request('PUT', $href, $card, 'Content-Type' => 'text/calendar'); my $response = $CalDAV->Request('GET', $href); $self->assert(not ($response->{content} =~ m/SCHEDULE-FORCE-SEND/)); }