[Koha-patches] adjust-Reserves.t-test-for-resdate-and-expdate-and-t.patch

matted-34813 at mypacks.net matted-34813 at mypacks.net
Wed Sep 5 18:48:37 CEST 2012


This patch adds the resdate and expdate argument to the AddReserve test.

I also adjusted it to create a bilio, and item for that biblio and delete them at the end of the test, so its not dependent on external test data.

It gets rid of Illegal metric data warning from misaligned arguments.


TestPlan:
koha at biblio:~/kohaclone$ prove t/db_dependent/Reserves.t 
t/db_dependent/Reserves.t .. 1/4 # 
# Creating biblio instance for testing.
# Creating item instance for testing.
# Deleting item testing instance.
# Deleting biblio testing instance.
t/db_dependent/Reserves.t .. ok   
All tests successful.
Files=1, Tests=4,  2 wallclock secs ( 0.03 usr  0.01 sys +  0.59 cusr  0.04 csys =  0.67 CPU)
Result: PASS


More information about the Koha-patches mailing list