Don't assume the app gets loaded before the first request
[catagits/Catalyst-Runtime.git] / t / psgi_file_testapp.t
index b13464f..09fae0e 100644 (file)
@@ -26,8 +26,8 @@ BEGIN {
 }
 use Catalyst::Test qw/ TestApp /;
 
-ok $main::have_loaded_psgi;
 ok request('/');
+ok $main::have_loaded_psgi;
 
 done_testing;