[Koha-bugs] [Bug 10332] UT: CourseReserves.t needs to create its own data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 18 17:43:47 CEST 2013


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

--- Comment #28 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 19129
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19129&action=edit
Bug 10332: further improvements to course reserves tests

- Wrap tests in a database transaction; that
  way, no special cleanup code is required
- Use AddItem rather than AddItemFromMarc to create
  test items; there's no need to build in a
  dependence on any particular MARC flavor or
  framework in our test cases (except, of course,
  for test cases that are explicitly exercising
  code that involves the frameworks).

Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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


More information about the Koha-bugs mailing list