[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 20:11:46 CEST 2017


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

Marc Véron <veron at veron.ch> changed:

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

--- Comment #3 from Marc Véron <veron at veron.ch> ---
Created attachment 62406
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62406&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

Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list