]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/view.t
www: admin-configurable CSS via "publicinbox.css"
[public-inbox.git] / t / view.t
index b829ecf883f8cca07cf28444e5ba4741578de57c..ef7d6958aaa9f0c27e9d2125df0278c0b7b8d7b3 100644 (file)
--- a/t/view.t
+++ b/t/view.t
@@ -6,6 +6,7 @@ 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 = {
@@ -18,6 +19,7 @@ my $ctx = {
                nntp_url => sub {[]},
                max_git_part => sub { undef },
                description => sub { '' }),
+       www => Plack::Util::inline_object(style => sub { '' }),
 };
 $ctx->{-inbox}->{-primary_address} = 'test@example.com';