Skip to content

Commit

Permalink
Fixes hardcoded path used in test env.
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Apr 28, 2016
1 parent c17d9e3 commit cb35849
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/MetaCPAN/Script/CPANTesters.pm
Expand Up @@ -57,10 +57,11 @@ has _bulk => (
},
);

# XXX fix hardcoded path
sub _build_db {
my $self = shift;
return $ENV{HARNESS_ACTIVE}
? $self->home->file('t/var/cpantesters-release-fake.db.bz2')
? $self->home->file('var/t/tmp/cpantesters-release-fake.db.bz2')
: 'http://devel.cpantesters.org/release/release.db.bz2';
}

Expand Down

0 comments on commit cb35849

Please sign in to comment.