use FindBin qw/$Bin/;
use lib "$Bin/../lib";
+use File::Temp qw/ tempdir /;
+use Cwd;
use Test::More;
use Try::Tiny;
use Catalyst::Script::Server;
+my $cwd = getcwd;
+chdir(tempdir(CLEANUP => 1));
+
my $testopts;
# Test default (no opts/args behaviour)
## First, make sure we can get an app
my $app = _build_testapp($argstring);
+
+ ## Sorry, don't really fork since this cause trouble in Test::Aggregate
+ $app->meta->add_around_method_modifier('daemon_fork', sub { return; });
+
try {
$app->run;
}
return $val;
}
+chdir($cwd);
+
1;