]> git.koha-community.org Git - koha.git/commit
Bug 18460: Fix undefined itemtype warning in Serials.t
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 19 Apr 2017 15:15:46 +0000 (12:15 -0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Fri, 21 Apr 2017 22:42:08 +0000 (00:42 +0200)
commitaf8a39d73f0f716a486b6c5aa6972977a67d10cf
tree083150581a5c01f493dd67caf34bd295a2012fa3
parent35c68e61b6e690e489f806c35af42be84232184f
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

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit eab4d43a479c20c3708eb0765c9e92ee6f58e7d9)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Serials.t