about summary refs log tree commit homepage
path: root/xt/solver.t
diff options
context:
space:
mode:
Diffstat (limited to 'xt/solver.t')
-rw-r--r--xt/solver.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/xt/solver.t b/xt/solver.t
index 51b4144c..372d003b 100644
--- a/xt/solver.t
+++ b/xt/solver.t
@@ -10,6 +10,7 @@ use_ok($_) for @psgi;
 use_ok 'PublicInbox::WWW';
 my $cfg = PublicInbox::Config->new;
 my $www = PublicInbox::WWW->new($cfg);
+$www->preload;
 my $app = sub {
         my $env = shift;
         $env->{'psgi.errors'} = \*STDERR;
@@ -63,7 +64,7 @@ while (my ($ibx_name, $urls) = each %$todo) {
                         skip(qq{[publicinbox "$ibx_name"] not configured},
                                 scalar(@$urls));
                 }
-                if (!defined($ibx->{coderepo})) {
+                if (!defined($ibx->{-repo_objs})) {
                         push @gone, $ibx_name;
                         skip(qq{publicinbox.$ibx_name.coderepo not configured},
                                 scalar(@$urls));