https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24401

--- Comment #79 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 209545
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209545&action=edit
Bug 24401: (QA follow-up) Add token cross-context and expiry test coverage

Cover the properties the QA review specifically raised about
confirmation tokens: that a token minted for one item, or one
confirmation set, does not validate against a different item or
confirmation set (it doesn't - the context-object ids and sorted
confirmation keys already scope _token_id correctly), and that an
expired token (per the just-added TOKEN_EXPIRY_SECONDS/expires
support) is rejected.

Test plan:
1. prove t/Koha/Result/Availability.t
=> SUCCESS: 13 tests pass.

Signed-off-by: Martin Renvoize <[email protected]>
Signed-off-by: Brendan Lawlor <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to