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

--- Comment #1 from kenza <[email protected]> ---
Created attachment 20267
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20267&action=edit
Bug 10710 : OfflineOperation's routines in C4/Circulation.pm need unit tests.

This patch test AddOfflineOperation,GetOfflineOperation and
DeleteOfflineOperation in C4/Circulation.pm.
The tests are wrap in a transaction.

Note: Currently, GetOfflineOperations is not tested because we cannot mock
C4::Context->userenv in unit tests

To test:
prove t/db_dependent/Circulation_OfflineOperation.t
t/db_dependent/Circulation_OfflineOperation.t .. ok
All tests successful.
Files=1, Tests=7, 19 wallclock secs ( 0.01 usr  0.01 sys +  0.33 cusr  0.02
csys =  0.37 CPU

-- 
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