9df2a4a8fc
This moves the DB-requiring tests out of the way, with the exception of 00-load.t which is used by the git hooks. For it, it makes it skip loading problematic modules. This allows 'make test' to complete successfully without a database configured, wich is a required part of making packages. This has been tested against the v3.02.03 tag and the master branch. Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
10 lines
218 B
Perl
10 lines
218 B
Perl
#!/usr/bin/perl
|
|
use strict;
|
|
use warnings;
|
|
|
|
use Test::More;
|
|
|
|
use_ok('C4::Serials');
|
|
my $supplierlist=eval{GetSuppliersWithLateIssues()};
|
|
ok(length($@)==0,"No SQL problem in GetSuppliersWithLateIssues");
|
|
done_testing();
|