diff --git a/t/db_dependent/Auth.t b/t/db_dependent/Auth.t index f053bd115d..187270caae 100755 --- a/t/db_dependent/Auth.t +++ b/t/db_dependent/Auth.t @@ -301,7 +301,7 @@ subtest 'checkpw lockout tests' => sub { } ); }; - like ( $@, qr(^bad template path), "The file $template_name should not be accessible" ); + like ( $@, qr(bad template path), "The file $template_name should not be accessible" ); } ( $template, $loggedinuser, $cookies ) = get_template_and_user( {