https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40608
Marcel de Rooy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Status|Signed Off |Failed QA --- Comment #4 from Marcel de Rooy <[email protected]> --- + $schema->resultset('Letter')->search( Old syntax. We have Koha::Notice::Template ? + # Verify no PASSWORD_CHANGE letter exists + my $letter_count = $schema->resultset('Letter')->search( + { + code => 'PASSWORD_CHANGE', + module => 'members' + } + )->count; + is( $letter_count, 0, 'No PASSWORD_CHANGE letter template exists' ); Overkill? Testing DBIx here? We should probably warn if they enable Notify and you have an email address but dont have a letter for it ? Now we silently ignore. -- 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/
