From 7b13fe5f921b51c553c929c29a5e8a9b2b7a4719 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Fri, 5 Jul 2019 02:40:33 +0000 Subject: [PATCH] Bug 20340: (follow-up) fix some of Auth.t's tests --- t/db_dependent/Auth.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Auth.t b/t/db_dependent/Auth.t index 91c7bc3b48..17ced253c2 100644 --- a/t/db_dependent/Auth.t +++ b/t/db_dependent/Auth.t @@ -122,7 +122,7 @@ subtest 'track_login_daily tests' => sub { subtest 'no_set_userenv parameter tests' => sub { - plan tests => 7; + plan tests => 13; my $library = $builder->build_object( { class => 'Koha::Libraries' } ); my $patron = $builder->build_object( { class => 'Koha::Patrons' } ); @@ -151,7 +151,7 @@ subtest 'no_set_userenv parameter tests' => sub { is( $result[0], 1, 'With TestAuth plugin, checkpw returns 1' ); is( $result[1], 'test', 'With TestAuth plugin, checkpw returns test cardnumber' ); is( $result[2], 'test', 'With TestAuth plugin, checkpw returns test userid' ); -} +}; subtest 'checkpw lockout tests' => sub { -- 2.11.0