X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fsearch.t;h=c16811d8d462806886c5d6f06e54d09c8dd0f6ba;hb=478d03688600a4c7b50e205d15d76113e019f3cd;hp=eed9c9b61593a9e0e8694466b2c2e85f007fe399;hpb=1a75ba282c16f8c15b7891090d0997628d7021dc;p=public-inbox.git diff --git a/t/search.t b/t/search.t index eed9c9b6..c16811d8 100644 --- a/t/search.t +++ b/t/search.t @@ -109,7 +109,6 @@ sub filter_mids { my $found = $ro->lookup_message(''); ok($found, "message found"); is($root_id, $found->{doc_id}, 'doc_id set correctly'); - $found->ensure_metadata; is($found->mid, 'root@s', 'mid set correctly'); ok(int($found->thread_id) > 0, 'thread_id is an integer'); @@ -290,7 +289,6 @@ sub filter_mids { body => "LOOP!\n")); ok($doc_id > 0, "doc_id defined with circular reference"); my $smsg = $rw->lookup_message('circle@a'); - $smsg->ensure_metadata; is($smsg->references, '', "no references created"); my $msg = PublicInbox::SearchMsg->load_doc($smsg->{doc}); is($s, $msg->subject, 'long subject not rewritten');