[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 21:54:59 CEST 2013


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19129|0                           |1
        is obsolete|                            |

--- Comment #31 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 19135
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19135&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>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>

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


More information about the Koha-bugs mailing list