https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40608
--- Comment #1 from Tomás Cohen Arazi (tcohen) <[email protected]> --- Created attachment 185166 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185166&action=edit Bug 40608: Regression tests When NotifyPasswordChange is enabled and a patron has a valid email address, but there is no PASSWORD_CHANGE letter template, the set_password method fails silently and returns undef instead of changing the password. This adds comprehensive regression tests to demonstrate the bug: 1. Bug condition: Missing PASSWORD_CHANGE letter template causes password change to fail and method returns undef 2. Control test: Password change works when NotifyPasswordChange is disabled 3. Control test: Password change works when PASSWORD_CHANGE letter exists Signed-off-by: Tomas Cohen Arazi <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
