use TestApp;
$main::have_loaded_psgi = 1;
- my $app = sub { TestApp->psgi_app(@_) };
+ my $app = TestApp->psgi_app;
};
close($psgi);
}
use Catalyst::Test qw/ TestApp /;
-ok $main::have_loaded_psgi;
ok request('/');
+ok $main::have_loaded_psgi;
done_testing;