Bug 8890: don't try to load DB-dependent modules
C4::Members::Statistics uses the database in its BEGIN {} block, which breaks the package build process. This patch causes it to be skipped in the 00-load test. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
b29e524656
commit
7ee042f125
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ find({
|
|||
return if $m =~ /C4::Reports::Guided/; # DB
|
||||
return if $m =~ /C4::Serials/; # DB
|
||||
return if $m =~ /C4::VirtualShelves::Page/; # DB
|
||||
return if $m =~ /C4::Members::Statistics/; # DB
|
||||
use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'");
|
||||
},
|
||||
}, $lib);
|
||||
|
|
Loading…
Reference in a new issue