]> git.koha-community.org Git - koha.git/commit
Bug 22701: Unit tests for Koha::Biblio->items
authorTomas Cohen Arazi <tomascohen@theke.io>
Sat, 20 Apr 2019 12:47:43 +0000 (09:47 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Apr 2019 10:56:33 +0000 (10:56 +0000)
commit6416ead3cb5f992146822f7de6b242a814d1a1be
treedb2b50ce3398199278f34641ab7248d6077b2461
parent0a22e3127d90c9d76734b223523e0635b18cb32d
Bug 22701: Unit tests for Koha::Biblio->items

This patch adds tests fr the current items() implementation. The idea is
to verify no behaviour change takes place after we make it us
_new_from_dbic instead of calling Koha::Items->search.

To test:
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Koha/Biblio.t