[Koha-bugs] [Bug 24817] Add sleep calls to Koha::Cash::Register test
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Mar 7 04:38:24 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24817
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #100215|0 |1
is obsolete| |
--- Comment #6 from David Nind <david at davidnind.com> ---
Created attachment 100303
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100303&action=edit
Bug 24817: Add sleep between db create actions
We need to allow some time to pass between calls that add cash register
lines to accountlines or cash_register_actions. We use database level
triggers to maintain the timestamp fields, so cannot use Time::Fake, and
the methods we are testing assume that, as human interactions, there
will be at least a second between the last 'sale' on a cash register and
the 'cashup' of that same cash register.
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list