Do this at runtime, not compile time, so we actually do the tests without
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_script_server-without_modules.t
index af9601e..c5588bc 100644 (file)
@@ -16,13 +16,13 @@ use Test::Without::Module qw(
 );
 require "$Bin/../aggregate/unit_core_script_server.t";
 
-no Test::Without::Module qw(
+Test::Without::Module->unimport(qw(
     Starman
     Plack::Handler::Starman
     MooseX::Daemonize
     MooseX::Daemonize::Pid::File
     MooseX::Daemonize::Core
-);
+));
 
 1;