https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40294 --- Comment #73 from Jan Kissig <bibliothek@th-wildau.de> --- Created attachment 207392 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207392&action=edit Bug 40294: (QA follow-up) Fix failing test patrons_self_renewal.t This fixes the randomly failing test patrons_self_renewal.t when a patron is doing a self renewal via API. The called module SelfRenawal creates a letter with - letter_code = "MEMBERSHIP_RENEWED" - is_notice_mandatory = $is_notice_mandatory, - forceprint => 1 The param forceprint will always create a MEMBERSHIP_RENEWED letter with transport 'print'. The param is_notice_mandatory dependends on the patron categories setting enforce_expiry_notice which, if enabled, would trigger the message fallback chain enabled by this bug. This could lead to variable number of messages being generated and made the test fail. Therefore enforce_expiry_notice is disabled for the patron category used in the mentioned test. To test: prove t/db_dependent/api/v1/patrons_self_renewal.t -- You are receiving this mail because: You are watching all bug changes.