diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-04-18 09:13:06 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-04-18 09:14:11 +0000 |
commit | e7de01f139de8a5f90e9f1349732ebae8e2975f9 (patch) | |
tree | 4d6955b1d9e9b394e4a80b23b9d18eab2e7f2a93 /t/search.t | |
parent | be4d92e74dd0b1c8de85bc08c3c522af2d8d8656 (diff) | |
download | public-inbox-e7de01f139de8a5f90e9f1349732ebae8e2975f9.tar.gz |
Otherwise articles show up again...
Diffstat (limited to 't/search.t')
-rw-r--r-- | t/search.t | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -409,8 +409,15 @@ sub filter_mids { my $txt = $ro->query('"inside another"'); is($txt->[0]->mid, $res->[0]->mid, 'search inside text attachments works'); + + my $mid = $n->[0]->mid; + my ($id, $prev); + my $art = $ro->next_by_mid($mid, \$id, \$prev); + ok($art, 'article exists in OVER DB'); + $rw->unindex_blob($amsg); + $rw->commit_txn_lazy; + is($ro->lookup_article($art->{num}), undef, 'gone from OVER DB'); } -$rw->commit_txn_lazy; done_testing(); |