Merge trunk into here, fix tests to pass again with the newer versions of Plack
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_script_cgi.t
index f39e377..ffadb8a 100644 (file)
@@ -15,8 +15,8 @@ lives_ok {
     Catalyst::Script::CGI->new_with_options(application_name => 'TestAppToTestScripts')->run;
 } "new_with_options";
 shift @TestAppToTestScripts::RUN_ARGS;
-my $server = shift @TestAppToTestScripts::RUN_ARGS;
-like ref($server), qr/^Plack::Server/, 'Is a Plack Server';
+my $server = pop @TestAppToTestScripts::RUN_ARGS;
+like ref($server), qr/^Plack::Handler/, 'Is a Plack::Handler';
 is_deeply \@TestAppToTestScripts::RUN_ARGS, [], "no args";
 
 done_testing;