]> git.koha-community.org Git - koha.git/commit
Bug 17646: Remove itemtype-related IssueSlip.t warnings
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 16 Nov 2016 13:59:26 +0000 (10:59 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 17 Nov 2016 11:06:33 +0000 (11:06 +0000)
commit20d38884e8400319e9bb128b8b70a7eadd3c0aaa
tree0359f7a6e3d83d5551c0382aa116bf9da7d9bc7d
parent521e9a98dddebbbac39cbc50117d47c14211b5ba
Bug 17646: Remove itemtype-related IssueSlip.t warnings

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

To test:
- Run
  $ prove t/db_dependent/Members/IssueSlip.t
=> FAIL: lots of warnings about "item-level_itypes set but no itemtype
set for item"
- Apply the patch
- Run:
  $ prove t/db_dependent/Members/IssueSlip.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/Members/IssueSlip.t