Fix missed mention of renamed module
Peter Rabbitson [Mon, 27 Dec 2010 03:28:15 +0000 (04:28 +0100)]
xt/podcoverage.t

index 68165cb..574efb6 100644 (file)
@@ -15,7 +15,7 @@ if ( DBICTest::RunMode->is_plain ) {
 require DBIx::Class;
 unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_podcoverage') ) {
   my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('test_podcoverage');
-  $ENV{RELEASE_TESTING} || DBICTest::AuthorCheck->is_author
+  $ENV{RELEASE_TESTING} || DBICTest::RunMode->is_author
     ? die ("Failed to load release-testing module requirements: $missing")
     : plan skip_all => "Test needs: $missing"
 }