]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/v1reindex.t
over: rename ->connect method to ->dbh
[public-inbox.git] / t / v1reindex.t
index d70ed4b93da2957dc9019553cca9a740de60f83b..a5c85ffbfa9bf79278bade8ba9c6b5fb55b74492 100644 (file)
@@ -434,7 +434,7 @@ ok(!-d $xap, 'Xapian directories removed again');
        my $ibx = PublicInbox::Inbox->new({ %$ibx_config });
        my $f = $ibx->over->{dbh}->sqlite_db_filename;
        my $over = PublicInbox::OverIdx->new($f);
-       my $dbh = $over->connect;
+       my $dbh = $over->dbh;
        my $non_ghost_tids = sub {
                $dbh->selectall_arrayref(<<'');
 SELECT tid FROM over WHERE num > 0 ORDER BY tid ASC