]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Mon, 5 Dec 2016 20:22:40 +0000 (21:22 +0100)
commitbb312ded2a9217053929ba9e973842456d6d1aec
tree5a8482f743eab6dd46a3314f2f69e329a0e0a2ae
parent94e4155a8d7621ffe888116560fd9c8fa8c4d27e
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>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Members/GetAllIssues.t
t/db_dependent/Members/GetOverdues.t
t/db_dependent/Members/GetPendingIssues.t