#!perl use Cassandane::Tiny; sub test_subject_and_body_match :min_version_3_0 :needs_dependency_cld2 { my ($self) = @_; $self->make_message('fwd subject', body => 'a schenectady body'); $self->{instance}->run_command({cyrus => 1}, 'squatter'); my $talk = $self->{store}->get_client(); my $uids = $talk->search('fuzzy', 'text', 'fwd', 'text', 'schenectady'); $self->assert_deep_equals([1], $uids); }