X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Fcmp-msgview.t;h=9b06f88deade239f5257de99b96bf4eec2ed98dc;hb=21fcd8a37c82c1ef654d402cf592f0c9d803aa26;hp=5bd7aa174df0c786fcd16978a022e3d72e1728bb;hpb=eeeae20893a2595631359e719eadac9686572734;p=public-inbox.git diff --git a/xt/cmp-msgview.t b/xt/cmp-msgview.t index 5bd7aa17..9b06f88d 100644 --- a/xt/cmp-msgview.t +++ b/xt/cmp-msgview.t @@ -1,5 +1,5 @@ #!perl -w -# Copyright (C) 2020 all contributors +# Copyright (C) 2020-2021 all contributors # License: AGPL-3.0+ use strict; use Test::More; @@ -24,7 +24,7 @@ vec(my $vec = '', fileno($fh), 1) = 1; select($vec, undef, undef, 60) or die "timed out waiting for --batch-check"; my $mime_ctx = { env => { HTTP_HOST => 'example.com', 'psgi.url_scheme' => 'https' }, - -inbox => $ibx, + ibx => $ibx, www => Plack::Util::inline_object(style => sub {''}), obuf => \(my $mime_buf = ''), mhref => '../', @@ -84,7 +84,7 @@ my $t = timeit(1, sub { ++$n; $git->cat_async($oid, $git_cb); } - $git->cat_async_wait; + $git->async_wait_all; }); is($m, $n, 'rendered all messages');