]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Apr 2017 14:31:10 +0000 (10:31 -0400)
commiteab4d43a479c20c3708eb0765c9e92ee6f58e7d9
treeba22368612ebf4edd98ba290c43d36c98e6176e1
parent37836951d38ed57c7ed5ed702aab1433729ffe0d
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>
t/db_dependent/Serials.t