]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/over.t
No ext_urls
[public-inbox.git] / t / over.t
index a92d2f77b0397012121d24a155ff32aa9bb8acf7..1f2df7cf065a72a2a4a6e7368e5f53b54010f13d 100644 (file)
--- a/t/over.t
+++ b/t/over.t
@@ -90,8 +90,9 @@ $over->eidx_prep;
                        'example.kee:2018:deadbeefcafe' ],
                        'xref3 works forw two');
 
-       @arg = qw(1349 adeadba7cafe example.key);
-       is($over->remove_xref3(@arg), 1, 'remove first');
+       is($over->dbh->do(<<''), 1, 'remove first');
+DELETE FROM xref3 WHERE xnum = 2019 AND docid = 1349
+
        $xref3 = $over->get_xref3(1349);
        is_deeply($xref3, [ 'example.kee:2018:deadbeefcafe' ],
                'confirm removal successful');