]> git.koha-community.org Git - koha.git/commit
Bug 17636: Remove itemtype-related GetIssues.t warnings
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 15 Nov 2016 20:40:22 +0000 (17:40 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 17 Nov 2016 16:24:04 +0000 (16:24 +0000)
commit6aecba93a5bd762c82fc67ba0bbe824e55908ad5
treeaa58ef7e543bddc868073dad2bc78de7474effcd
parent2a73cdac5b600408ac62adc028266e4659964f98
Bug 17636: Remove itemtype-related GetIssues.t warnings

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

To test:
- Run
  $ prove t/db_dependent/Circulation/GetIssues.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/GetIssues.t
=> SUCCESS: Tests are green, and no warnings.
- Sign off :-D

Sponsored-by: ByWater Solutions
Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
All test pass successfuly

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Circulation/GetIssues.t