From f026dbdd392c9dd5fddbdad9a2240738d4956640 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 20 Jan 2019 04:21:07 +0000 Subject: www: admin-configurable CSS via "publicinbox.css" Maybe we'll default to a dark theme to promote energy savings... See contrib/css/README for details --- t/view.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') diff --git a/t/view.t b/t/view.t index b829ecf8..ef7d6958 100644 --- 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'; -- cgit v1.2.3-24-ge0c7