Enhance exception action test (no functional changes)
[dbsrgits/DBIx-Class.git] / t / zzzzzzz_authors.t
index ce9a217..17a57f7 100644 (file)
@@ -2,14 +2,16 @@ use warnings;
 use strict;
 
 use Test::More 'no_plan';
+use lib 't/lib';
+use DBICTest::RunMode;
 
 my $authorcount = scalar do {
   open (my $fh, '<', 'AUTHORS') or die "Unable to open AUTHORS - can't happen: $!\n";
   map { chomp; ( ( ! $_ or $_ =~ /^\s*\#/ ) ? () : $_ ) } <$fh>;
 } or die "Known AUTHORS file seems empty... can't happen...";
 
-# do not announce anything under travis - we are watching for STDERR silence
+# do not announce anything under ci - we are watching for STDERR silence
 diag "\n\n$authorcount contributors made this library what it is today\n\n"
-  unless ($ENV{TRAVIS}||'') eq 'true';
+  unless DBICTest::RunMode->is_ci;
 
 ok 1;