#!perl
use Cassandane::Tiny;

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

    my $res = $jmap->CallMethods([
        ['ParticipantIdentity/changes', {
            sinceState => '0',
        }, 'R1']
    ]);
    $self->assert_str_equals('cannotCalculateChanges', $res->[0][1]{type});
}
