https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7677 --- Comment #96 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Comment on attachment 45940 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45940 Bug 7677: UT: add unit tests for GetPreviousSerialid Review of attachment 45940: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=7677&attachment=45940) ----------------------------------------------------------------- ::: t/db_dependent/Serials_2.t @@ +255,5 @@
+is( GetPreviousSerialid( $subscriptionid, 1 ), $serialid2, "get previous serialid with 1" ); +is( GetPreviousSerialid( $subscriptionid, 2 ), $serialid1, "get previous serialid with 2" ); +is( GetPreviousSerialid( $subscriptionid, 3 ), undef, "get previous serialid with 3, does not exist" ); + +$dbh->rollback;
This rollback should not have been added by this patch (added by a wrong merge conflict). -- You are receiving this mail because: You are watching all bug changes.