Bug 19517 - dateexpiry.t is failing randomly
Summary: dateexpiry.t is failing randomly
Status: Pushed to Master
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 19776
  Show dependency treegraph
 
Reported: 2017-10-23 16:16 UTC by Jonathan Druart
Modified: 2017-12-07 17:41 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Bot Control: ---
When did the bot last check this:
Who signed the patch off:
Text to go in the release notes:


Attachments
Bug 19517: Prevent dateexpiry.t to fail randomly (2.97 KB, patch)
2017-10-23 16:22 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2017-10-23 16:16:43 UTC
#   Failed test 'Tests for CanBookBeIssued related to dateexpiry'
#   at t/db_dependent/Circulation/dateexpiry.t line 40.
Can't use an undefined value as a HASH reference at /kohadevbox/koha/C4/Circulation.pm line 728.

Once again it seems to be caused by a patron's category_code = 'X'
Comment 1 Jonathan Druart 2017-10-23 16:22:24 UTC
Created attachment 68423 [details] [review]
Bug 19517: Prevent dateexpiry.t to fail randomly

If categorycode is 'X', the test will fail

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 2 Jonathan Druart 2017-10-23 17:46:56 UTC
Pushed to master for 17.11