Summary: | Koha::Objects->search lacks tests | ||
---|---|---|---|
Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Component: | Architecture, internals, and plumbing | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Status: | CLOSED FIXED | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | fridolin.somers, jesse, jonathan.druart, kyle, martin.renvoize, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 21912: Add tests for Koha::Objects->search
Bug 21912: Add tests for Koha::Objects->search Bug 21912: (QA follow-up) Do not delete existing patrons |
Description
Tomás Cohen Arazi (tcohen)
2018-11-29 14:58:07 UTC
Created attachment 82745 [details] [review] 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 Created attachment 82750 [details] [review] 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> Trivial patch to increase the test coverage.. straight to PQA Created attachment 83514 [details] [review] Bug 21912: (QA follow-up) Do not delete existing patrons Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Awesome work all! Pushed to master for 19.05 Never a bad idea to increase test coverage... choosing to backport this 'tests only' patch. Pushed to 18.11.x for 18.11.02 Pushed to 18.05.x for 18.05.09 Pushed to 17.11.x for 17.11.15 |