diff options
author | Eric Wong <e@80x24.org> | 2019-05-23 09:36:40 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-23 17:43:50 +0000 |
commit | 96a27a0a073b61c465240bbbbb05a4c16f67c8d4 (patch) | |
tree | 6ab703c46757f61782e5d135ebc5ef29826fc868 /t/cgi.t | |
parent | 646c15c17c323aa80a9a25ca8755720926564ef8 (diff) | |
download | public-inbox-96a27a0a073b61c465240bbbbb05a4c16f67c8d4.tar.gz |
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.
Diffstat (limited to 't/cgi.t')
-rw-r--r-- | t/cgi.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |