Skip to content

Commit

Permalink
Fix tests for changes to v2.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Feb 16, 2022
1 parent 076cf47 commit b4baf8b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/30-env.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use Test::Exception;
use Test::Deep;
use Test::Output;
use Test::Differences;
use Cwd qw/cwd abs_path/;

use_ok 'Genesis::Env';
use Genesis::BOSH;
Expand All @@ -19,6 +20,9 @@ use Genesis;

fake_bosh;

$ENV{GENESIS_CALLBACK_BIN} ||= abs_path('bin/genesis');
$ENV{GENESIS_LIB} ||= abs_path('lib');

subtest 'new() validation' => sub {
quietly { throws_ok { Genesis::Env->new() }
qr/no 'name' specified.*this is most likely a bug/is;
Expand Down Expand Up @@ -1554,7 +1558,7 @@ EOF
GENESIS_ENVIRONMENT => $env->name,
GENESIS_TYPE => $top->type,
GENESIS_CALL_BIN => Genesis::humanize_bin(),
GENESIS_CALL => "",
GENESIS_CALL => "genesis",
GENESIS_CI_BASE => "/concourse/main/".$env->name."/",
GENESIS_CI_MOUNT => "/concourse/",
GENESIS_CI_MOUNT_OVERRIDE => "true",
Expand Down

0 comments on commit b4baf8b

Please sign in to comment.