]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/view.t
rename reference to git epochs as "partitions"
[public-inbox.git] / t / view.t
index b829ecf883f8cca07cf28444e5ba4741578de57c..d93be6f6b58df0968f28c13462926a5aaf7a699c 100644 (file)
--- a/t/view.t
+++ b/t/view.t
@@ -6,18 +6,21 @@ use Test::More;
 use Email::MIME;
 use Plack::Util;
 use_ok 'PublicInbox::View';
+use_ok 'PublicInbox::Config';
 
 # FIXME: make this test less fragile
 my $ctx = {
        env => { HTTP_HOST => 'example.com', 'psgi.url_scheme' => 'http' },
        -inbox => Plack::Util::inline_object(
                name => 'test',
+               over => sub { undef },
                search => sub { undef },
                base_url => sub { 'http://example.com/' },
                cloneurl => sub {[]},
                nntp_url => sub {[]},
-               max_git_part => sub { undef },
+               max_git_epoch => sub { undef },
                description => sub { '' }),
+       www => Plack::Util::inline_object(style => sub { '' }),
 };
 $ctx->{-inbox}->{-primary_address} = 'test@example.com';