| Summary: | More changes to MarkIssueReturned.t (after bug 19487) | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
| Component: | Test Suite | Assignee: | Marcel de Rooy <m.de.rooy> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | fridolin.somers |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Small patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 19487 | ||
| Bug Blocks: | |||
| Attachments: |
Bug 19513: More changes to MarkIssueReturned.t (after bug 19487)
Bug 19513: Re-add AnonymousPatron-related tests Bug 19513: Re-add AnonymousPatron-related tests |
||
|
Description
Marcel de Rooy
2017-10-23 11:15:58 UTC
Created attachment 68385 [details] [review] Bug 19513: More changes to MarkIssueReturned.t (after bug 19487) This patch was initially created as QA follow-up on 19487. $dbh is not used $categorycode is no longer used %item_branch_infos not used $borrowernumber is obsoleted by using $patron No real need for $anonymous_borrowernumber (Since MarkIssueReturned returns undef rightaway for an invalid itemnumber, the privacy stuff is irrelevant.) No AddMember calls, removing unneeded modules Adding a test that calls MarkIssueReturned on an item already returned. Test plan: [1] Run t/db_dependent/Circulation/MarkIssueReturned.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Created attachment 68490 [details] [review] Bug 19513: Re-add AnonymousPatron-related tests These tests are still useful Created attachment 68529 [details] [review] Bug 19513: Re-add AnonymousPatron-related tests These tests are still useful. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> The AddMember call is considerably slowing it down. A call to TestBuilder would be an improvement for performance. use Koha::Checkouts ? Pushed to master for 17.11, thanks to everybody involved! Enhancement not pushed to 17.05.x |