[Koha-bugs] [Bug 17742] Test t/db_dependent/Patrons.t can fail randomly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 13 08:50:18 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17742
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #58085|0 |1
is obsolete| |
--- Comment #6 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 58148
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58148&action=edit
Bug 17742: Fix t/db_dependent/Patrons.t
Moves the getting of testing date for updated_on just after the storing
the test patron data to make the gap between generating data and now
date as short as possible
Fixes test 7
Use Koha::Database instead of C4::Context->dbh
Test plan
1. prove t/db_dependent/Patrons.t
2. read the diff
Signed-off-by: Chris Kirby <chris.kirby at ilsleypubliclibrary.org>
Tests passed.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list