[Koha-bugs] [Bug 8728] t/db_dependent/Reserve.t test doesn't use resdate and expdate arguments for AddReserve

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 5 18:48:46 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8728

--- Comment #1 from wajasu <matted-34813 at mypacks.net> ---
Created attachment 11983
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11983&action=edit
adjust-Reserves.t-test-for-resdate-and-expdate-and-t.patch

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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list