#!perl
use Cassandane::Tiny;

sub test_calendarsharenotification_querychanges
    :min_version_3_3
{
    my ($self) = @_;
    my $jmap = $self->{jmap};

    my $res = $jmap->CallMethods([
        ['ShareNotification/queryChanges', {
            sinceQueryState => 'whatever',
        }, 'R1']
    ]);
    $self->assert_str_equals('cannotCalculateChanges', $res->[0][1]{type});
}
