[Koha-bugs] [Bug 18460] Remove itemtype-related Serials.t warnings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 19 17:20:44 CEST 2017


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 62391
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62391&action=edit
Bug 18460: Fix undefined itemtype warning in Serials.t

This patch makes the test create an itemtype, and use it for the created item
so there's no warning.

To test:
- Run:
  $ prove t/db_dependent/Serials.t
=> FAIL: item-level_itypes set but no itemtype set... warning raised
- Apply the patch
- Run:
  $ prove t/db_dependent/Serials.t
=> SUCCESS: Tests pass and no warning is raised
- Sign off :-D

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

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


More information about the Koha-bugs mailing list