add Test::File::ShareDir::Dist to help Travis build

This commit is contained in:
Oliver Gorwits
2018-01-06 11:14:04 +00:00
parent 76d390d440
commit d7549637f3
2 changed files with 2 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ Module::Build->new(
test_requires => { test_requires => {
'Test::More' => '0.88', 'Test::More' => '0.88',
'Env::Path' => '0', 'Env::Path' => '0',
'Test::File::ShareDir::Dist' => '0',
}, },
script_files => [ script_files => [
'bin/nd-import-topology', 'bin/nd-import-topology',

View File

@@ -2,6 +2,7 @@
use strict; use warnings FATAL => 'all'; use strict; use warnings FATAL => 'all';
use Test::More 0.88; use Test::More 0.88;
use Test::File::ShareDir::Dist { 'App-Netdisco' => 'share/' };
BEGIN { BEGIN {
use_ok( 'App::Netdisco::Util::Web', 'sort_port' ); use_ok( 'App::Netdisco::Util::Web', 'sort_port' );