Merge trunk into here, fix tests to pass again with the newer versions of Plack
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_script_fastcgi.t
index 01e4339..ef3d007 100644 (file)
@@ -51,8 +51,8 @@ sub testOption {
     } "new_with_options";
     # First element of RUN_ARGS will be the script name, which we don't care about
     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, $resultarray, "is_deeply comparison";
 }