#571 tests should not use user local config
This commit is contained in:
@@ -13,6 +13,8 @@ BEGIN {
|
||||
unshift @INC,
|
||||
dir($FindBin::RealBin)->parent->subdir('lib')->stringify,
|
||||
dir($FindBin::RealBin, 'lib')->stringify;
|
||||
|
||||
$ENV{DANCER_ENVDIR} = '/dev/null';
|
||||
}
|
||||
|
||||
# for netdisco app config
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
BEGIN { $ENV{DANCER_ENVDIR} = '/dev/null'; }
|
||||
|
||||
use strict; use warnings FATAL => 'all';
|
||||
use Test::More 0.88;
|
||||
use Test::File::ShareDir::Dist { 'App-Netdisco' => 'share/' };
|
||||
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
BEGIN { $ENV{DANCER_ENVDIR} = '/dev/null'; }
|
||||
|
||||
use Test::More;
|
||||
use Env::Path;
|
||||
use FindBin qw( $Bin );
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use strict; use warnings FATAL => 'all';
|
||||
use strict; use warnings;
|
||||
|
||||
BEGIN { $ENV{DANCER_ENVDIR} = '/dev/null'; }
|
||||
|
||||
use Test::More 1.302083;
|
||||
use Test::File::ShareDir::Dist { 'App-Netdisco' => 'share/' };
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use strict; use warnings FATAL => 'all';
|
||||
use strict; use warnings;
|
||||
|
||||
BEGIN { $ENV{DANCER_ENVDIR} = '/dev/null'; }
|
||||
|
||||
use Test::More 0.88;
|
||||
use Test::File::ShareDir::Dist { 'App-Netdisco' => 'share/' };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user