Bug 8296: Fix unit tests in t/db_dependent/Serials.t

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Julian Maurice 2014-10-10 09:22:54 +02:00 committed by Tomas Cohen Arazi
parent 222701dfc7
commit 12aa9f676b

View file

@ -216,7 +216,7 @@ my $counter = 0;
for my $status ( @statuses ) {
my $serialseq = "No.".$counter;
my ( $expected_serial ) = GetSerials2( $subscriptionid, [1] );
C4::Serials::ModSerialStatus( $expected_serial->{serialid}, $serialseq, $publisheddate, $publisheddate, $statuses[$counter], 'an useless note' );
C4::Serials::ModSerialStatus( $expected_serial->{serialid}, $serialseq, $publisheddate, $publisheddate, $publisheddate, $statuses[$counter], 'an useless note' );
$counter++;
}
# Here we have 15 serials with statuses : 2*2 + 5*3 + 2*4 + 1*41 + 1*42 + 1*43 + 1*44 + 1*5 + 1*1