[Koha-bugs] [Bug 17572] Remove issue.t warnings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 7 19:14:35 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17572

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 57272
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57272&action=edit
Bug 17572: Remove itemtype-related warnings from issue.t

This patch makes t/db_dependent/Circulation/issue.t create
good sample data for its tests. It does so by creating a random
itemtype.

To test:
- Run
  $ prove t/db_dependent/Circulation/issue.t
=> FAIL: lots of warnings about "item-level_itypes set but no itemtype
set for item"
- Apply the patch
- Run:
  $ prove t/db_dependent/Circulation/issue.t
=> SUCCESS: Tests are green, and no warnings.
- Sign off :-D

Sponsored-by: ByWater Solutions

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


More information about the Koha-bugs mailing list