https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40286 --- Comment #12 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 195344 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195344&action=edit Bug 40286: (follow-up) Fix password_validation.t for find_by_identifier behavior The change to use find_by_identifier in checkpw_internal means userid is now checked before cardnumber. This updates the test to reflect that when an identifier matches both a userid and cardnumber, the userid match takes precedence. To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/api/v1/password_validation.t => SUCCESS: Tests pass! -- You are receiving this mail because: You are watching all bug changes.