Skip to content

Commit

Permalink
Merge pull request #833 from mgcam/short_info_tests
Browse files Browse the repository at this point in the history
Bring unit test scripts up-to-date
  • Loading branch information
srl147 authored Mar 11, 2024
2 parents 1d358f9 + 21d6824 commit b6cb472
Show file tree
Hide file tree
Showing 12 changed files with 415 additions and 370 deletions.
2 changes: 0 additions & 2 deletions t/00-distribution.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ eval {
if($EVAL_ERROR) {
plan skip_all => 'Test::Distribution not installed';
} else {
my @nots = qw(prereq pod);
local $ENV{'PATH'} = join q[:], 't/bin', $ENV{'PATH'};
Test::Distribution->import(only => [qw/versions description/], distversion => 1);
}

Expand Down
1 change: 0 additions & 1 deletion t/00-podcoverage.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use Test::More;

eval "use Test::Pod::Coverage 1.00";
plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@;
local $ENV{'PATH'} = join q[:], 't/bin', $ENV{'PATH'};
all_pod_coverage_ok();

1;
3 changes: 1 addition & 2 deletions t/10-base.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ use warnings;
use Test::More tests => 8;
use Test::Exception;
use File::Temp qw(tempdir tempfile);
use Cwd;
use Cwd qw(getcwd abs_path);
use Log::Log4perl qw(:levels);
use Moose::Util qw(apply_all_roles);
use File::Copy qw(cp);

use t::util;
use npg_tracking::util::abs_path qw(abs_path);

my $util = t::util->new();

Expand Down
2 changes: 1 addition & 1 deletion t/10-pluggable-central.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use Test::Exception;
use Log::Log4perl qw(:levels);
use File::Copy qw(cp);
use File::Path qw(make_path remove_tree);
use Cwd qw(abs_path);

use npg_tracking::util::abs_path qw(abs_path);
use t::util;

my $util = t::util->new();
Expand Down
Loading

0 comments on commit b6cb472

Please sign in to comment.