diff --git a/t/db_dependent/Letters.t b/t/db_dependent/Letters.t index a4ddd2a97e..39d11c701b 100644 --- a/t/db_dependent/Letters.t +++ b/t/db_dependent/Letters.t @@ -213,7 +213,7 @@ isnt( $alert_id, undef, 'addalert does not return undef' ); # getalert my $alerts = C4::Letters::getalert(); -is( @$alerts, 1, 'addalert should not fail without parameter' ); +is( @$alerts, 1, 'getalert should not fail without parameter' ); $alerts = C4::Letters::getalert($borrowernumber); is( @$alerts, 1, 'addalert adds an alert' ); is( $alerts->[0]->{alertid}, $alert_id, 'addalert returns the alert id correctly' );