[Koha-bugs] [Bug 29084] Update article requests-related Koha::Biblio methods to use relationships
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 6 19:05:51 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29084
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #125244|0 |1
is obsolete| |
--- Comment #10 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 125841
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125841&action=edit
Bug 29084: Unit tests
This patch adds missing tests for Koha::Biblio->article_requests and
reorganizes (and extends) the tests for 'article_requests_current' and
'article_requests_finished' that were originally in ArticleRequests.t
into Koha/Biblio.t as we do now.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/ArticleRequests.t \
t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass!
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list