aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/TestAppProve.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/TestAppProve.pm')
-rw-r--r--perllib/FixMyStreet/TestAppProve.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/TestAppProve.pm b/perllib/FixMyStreet/TestAppProve.pm
index 0329bcfde..ec245e72c 100644
--- a/perllib/FixMyStreet/TestAppProve.pm
+++ b/perllib/FixMyStreet/TestAppProve.pm
@@ -104,6 +104,8 @@ sub run {
my $config_out = $class->get_config({ config_file => $config_file, db_config_file => $db_config_file });
local $ENV{FMS_OVERRIDE_CONFIG} = $config_out;
+ # Don't warn over use of Regex dispatch type
+ local $ENV{CATALYST_NOWARN_DEPRECATE} = 1;
my $prove = App::Prove->new;
$prove->process_args(@ARGV);
@@ -111,7 +113,7 @@ sub run {
# If no arguments, test everything
$prove->argv(['t']) unless @{$prove->argv};
# verbose if we have a single file
- $prove->verbose(1) if @{$prove->argv} and -f $prove->argv->[-1];
+ $prove->verbose(1) if @{$prove->argv} and -f $prove->argv->[-1] && !$ENV{CI};
# we always want to recurse
$prove->recurse(1);
# we always want to save state