]> git.koha-community.org Git - koha.git/commit
Bug 24528: Unit tests for Koha::Object->to_api
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 28 Jan 2020 19:14:01 +0000 (16:14 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 31 Jan 2020 13:50:30 +0000 (13:50 +0000)
commit578b1aa8f754b49eacb47d0f652e174ab049d47b
tree2ea0218ee098f36aa9ca129ddb354ae794854a88
parent528cc36f0c855b69e2257f7fbc754f3bbc4879c8
Bug 24528: Unit tests for Koha::Object->to_api

This patch introduces unit tests for the new to_api bejaviour for
*_count methods.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Object.t
=> FAIL: Tests fail because the feature is not implemented

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Koha/Object.t