Bug 40438: Remove warnings from Koha/Old/Hold.t
it's an integer. t/db_dependent/Koha/Old/Hold.t .. 1/3 Value not allowed for auto_incr biblionumber in Biblio at /kohadevbox/koha/t/lib/TestBuilder.pm line 431. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
573b226997
commit
dd54cd5062
|
|
@ -17,7 +17,8 @@
|
|||
|
||||
use Modern::Perl;
|
||||
|
||||
use Test::More tests => 3;
|
||||
use Test::More tests => 4;
|
||||
use Test::NoWarnings;
|
||||
use Test::Exception;
|
||||
|
||||
use Koha::Database;
|
||||
|
|
@ -103,7 +104,7 @@ subtest 'biblio() tests' => sub {
|
|||
my $hold_2 = $builder->build_object(
|
||||
{
|
||||
class => 'Koha::Old::Holds',
|
||||
value => { biblionumber => '' }
|
||||
value => { biblionumber => undef }
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue