Merge branch 'master' into psgi
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_script_server.t
index fce5045..f298fa9 100644 (file)
@@ -102,6 +102,8 @@ sub testOption {
     };
     # First element of RUN_ARGS will be the script name, which we don't care about
     shift @TestAppToTestScripts::RUN_ARGS;
+    my $server = pop @TestAppToTestScripts::RUN_ARGS;
+    like ref($server), qr/^Plack::Handler/, 'Is a Plack::Handler';
     # Mangle argv into the options..
     $resultarray->[-1]->{argv} = $argstring;
     is_deeply \@TestAppToTestScripts::RUN_ARGS, $resultarray, "is_deeply comparison " . join(' ', @$argstring);
@@ -151,8 +153,5 @@ sub restartopthash {
         host => undef,
         %$opthash,
     };
-    delete $val->{fork};
-    delete $val->{background};
-    delete $val->{keepalive};
     return $val;
 }