Koha/t/Serials.t
Colin Campbell d027e4dcd6 add warnings to Serials.pm
Change obvious warning generators:
     ( use of string comparisons in numeric comparison)
     ( declaration of variable in comnditional )
also some errors caused by undefined values:
    abouttoexpire was not checking for undef values
    Pass a valid planneddate in generation of next expected
    (undef here causes odd results)
Add a basic test script
    test is minimal but I fell over a bug this would have caught
2010-04-08 13:28:40 +01:00

8 lines
95 B
Perl

#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 1;
use_ok('C4::Serials');