]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/view.t
inbox: base_url method takes PSGI env hashref instead
[public-inbox.git] / t / view.t
index 4fdd15180cc45983630c6f2aa4f2b34f519f4704..4cee4395f7ce88926d797579d65ef5289525e41f 100644 (file)
--- a/t/view.t
+++ b/t/view.t
@@ -25,6 +25,7 @@ my $ctx = {
        -inbox => Plack::Util::inline_object(
                name => 'test',
                search => sub { undef },
+               base_url => sub { 'http://example.com/' },
                cloneurl => sub {[]},
                description => sub { '' }),
 };