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

--- Comment #1 from wajasu <[email protected]> ---
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@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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to