Bug 929: Follow up adding the Koha:: namespace to the list of modules to test
This commit is contained in:
parent
71d2d81e34
commit
e6bbb97942
18
t/00-load.t
18
t/00-load.t
|
|
@ -32,4 +32,22 @@ find({
|
|||
use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'");
|
||||
},
|
||||
}, $lib);
|
||||
|
||||
$lib = File::Spec->rel2abs('Koha');
|
||||
find(
|
||||
{
|
||||
bydepth => 1,
|
||||
no_chdir => 1,
|
||||
wanted => sub {
|
||||
my $m = $_;
|
||||
return unless $m =~ s/[.]pm$//;
|
||||
$m =~ s{^.*/Koha/}{Koha/};
|
||||
$m =~ s{/}{::}g;
|
||||
use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'");
|
||||
},
|
||||
},
|
||||
$lib
|
||||
);
|
||||
|
||||
|
||||
done_testing();
|
||||
|
|
|
|||
Loading…
Reference in New Issue