From 96a27a0a073b61c465240bbbbb05a4c16f67c8d4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 23 May 2019 09:36:40 +0000 Subject: v1writable: retire in favor of InboxWritable In retrospect, introducing V1Writable was unnecessary and InboxWritable->importer is in a better position to abstract away differences between v1 and v2 writers. So teach InboxWritable to initialize inboxes and get rid of V1Writable. --- t/cgi.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/cgi.t') diff --git a/t/cgi.t b/t/cgi.t index d3172bf7..81130df5 100644 --- a/t/cgi.t +++ b/t/cgi.t @@ -41,11 +41,11 @@ my $cfgpfx = "publicinbox.test"; use_ok 'PublicInbox::Git'; use_ok 'PublicInbox::Import'; use_ok 'PublicInbox::Inbox'; -use_ok 'PublicInbox::V1Writable'; +use_ok 'PublicInbox::InboxWritable'; use_ok 'PublicInbox::Config'; my $cfg = PublicInbox::Config->new($pi_config); my $ibx = $cfg->lookup_name('test'); -my $im = PublicInbox::V1Writable->new($ibx); +my $im = PublicInbox::InboxWritable->new($ibx)->importer; { local $ENV{HOME} = $home; -- cgit v1.2.3-24-ge0c7