]> git.koha-community.org Git - koha.git/commit
Bug 21912: Add tests for Koha::Objects->search
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 29 Nov 2018 14:59:05 +0000 (11:59 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 11 Jan 2019 13:01:01 +0000 (13:01 +0000)
commit7669697732e3abf3b2c5a32446115d277be7342e
tree8ae8705457573b6b416bce9ff52b7d583ede2c42
parentcf483fd3758b2402d15245fe8b975cb9ee277e04
Bug 21912: Add tests for Koha::Objects->search

This patch adds simple tests for the current behaviour. Specifically the
return values in both scalar and list context.

To test:
- Apply this patch
- Run:
  $ prove t/db_dependent/Koha/Objects.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/Objects.t