]> git.koha-community.org Git - koha.git/commit
Bug 17716: Remove itemtype-related t/db_dependent/CourseReserves.t
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 2 Dec 2016 18:21:58 +0000 (15:21 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 5 Dec 2016 15:32:57 +0000 (15:32 +0000)
commitc275cf490fae608d9eec17d5ed55e5cd3f73c350
tree1f5e06adda2f8b760e6d6b715a8643f6777bc919
parentb74d04543593bc4ead9da839c6692bf2d1841712
Bug 17716: Remove itemtype-related t/db_dependent/CourseReserves.t

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

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