View | Details | Raw Unified | Return to bug 40608
Collapse All | Expand All

(-)a/t/db_dependent/Koha/Patron.t (-1 / +18 lines)
Lines 1555-1560 subtest 'password expiration tests' => sub { Link Here
1555
                }
1555
                }
1556
            }
1556
            }
1557
        );
1557
        );
1558
1559
        # Create a PASSWORD_CHANGE letter template
1560
        $builder->build_object(
1561
            {
1562
                class => 'Koha::Notice::Templates',
1563
                value => {
1564
                    module                 => 'members',
1565
                    code                   => 'PASSWORD_CHANGE',
1566
                    branchcode             => '',
1567
                    name                   => 'Password Change Notification',
1568
                    is_html                => 0,
1569
                    title                  => 'Your password has been changed',
1570
                    content                => 'Dear [% borrower.firstname %], your password has been changed.',
1571
                    message_transport_type => 'email',
1572
                    lang                   => 'default'
1573
                }
1574
            }
1575
        );
1558
        is( $patron->password_expired, 1, "Patron password is expired" );
1576
        is( $patron->password_expired, 1, "Patron password is expired" );
1559
1577
1560
        $date = dt_from_string();
1578
        $date = dt_from_string();
1561
- 

Return to bug 40608