Skip to content

Commit

Permalink
Revert "JMAPMailbox: test that subscribing bumps state"
Browse files Browse the repository at this point in the history
This reverts commit 6ff6222.
  • Loading branch information
brong committed Nov 2, 2023
1 parent a49df60 commit e85a0ab
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cassandane/Cassandane/Cyrus/JMAPMailbox.pm
Original file line number Diff line number Diff line change
Expand Up @@ -946,15 +946,6 @@ sub test_mailbox_query_filteroperator
]);
$self->assert(exists $res->[0][1]{updated}{$mboxids{'Ham'}});

xlog $self, "make sure subscribing changed state";
$self->assert_not_equals($res->[0][1]{oldState}, $res->[0][1]{newState});

my $state = $res->[0][1]{oldState};
$res = $jmap->CallMethods([['Mailbox/changes', { sinceState => $state }, "R1"]]);
$self->assert_num_equals(1, scalar @{$res->[0][1]{updated}});
$self->assert_equals($res->[0][1]{updated}[0], $mboxids{'Ham'});
$self->assert_null($res->[0][1]{updatedProperties});

xlog $self, "list mailboxes filtered by parentId OR role";
$res = $jmap->CallMethods([['Mailbox/query', {
filter => {
Expand Down

0 comments on commit e85a0ab

Please sign in to comment.