]> git.koha-community.org Git - koha.git/commit
Bug 17714: Remove itemtype-related t/db_dependent/Members/* warnings
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 2 Dec 2016 17:19:22 +0000 (14:19 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 5 Dec 2016 15:25:44 +0000 (15:25 +0000)
commit2dd4ecb4c7e0c9b717d6b6dec42ec3ad735236be
treed59589944fe6db2c2c2014ce7103f6523262c50e
parent0b71fda3d591266fb02a11c9fbbaff04de1aafa6
Bug 17714: Remove itemtype-related t/db_dependent/Members/* warnings

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

To test:
- Run
  $ prove t/db_dependent/Members/*
=> FAIL: lots of warnings about "item-level_itypes set but no itemtype
set for item"
- Apply the patch
- Run:
  $ prove t/db_dependent/Members/*
=> SUCCESS: Tests are green, and no warnings.
- Sign off :-D

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Members/GetAllIssues.t
t/db_dependent/Members/GetOverdues.t
t/db_dependent/Members/GetPendingIssues.t