X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fsolver_git.t;h=98317faefce2238a7c33d668cdd990564b517504;hb=a208d17ed99577faa8b52d46107fad5516b346b0;hp=77fa1e09691d01cf0b35531528f37b7c1adc3966;hpb=e67159e720994c7442636a7d5250ea8a49a85b28;p=public-inbox.git diff --git a/t/solver_git.t b/t/solver_git.t index 77fa1e09..98317fae 100644 --- a/t/solver_git.t +++ b/t/solver_git.t @@ -42,7 +42,8 @@ $ibx->{-repo_objs} = [ $git ]; my $res; my $solver = PublicInbox::SolverGit->new($ibx, sub { $res = $_[0] }); open my $log, '+>>', "$inboxdir/solve.log" or die "open: $!"; -my $psgi_env = { 'psgi.errors' => *STDERR, 'psgi.url_scheme' => 'http' }; +my $psgi_env = { 'psgi.errors' => *STDERR, 'psgi.url_scheme' => 'http', + 'HTTP_HOST' => 'example.com' }; $solver->solve($psgi_env, $log, '69df7d5', {}); ok($res, 'solved a blob!'); my $wt_git = $res->[0];