Lines 122-128
subtest 'track_login_daily tests' => sub {
Link Here
|
122 |
|
122 |
|
123 |
subtest 'no_set_userenv parameter tests' => sub { |
123 |
subtest 'no_set_userenv parameter tests' => sub { |
124 |
|
124 |
|
125 |
plan tests => 7; |
125 |
plan tests => 13; |
126 |
|
126 |
|
127 |
my $library = $builder->build_object( { class => 'Koha::Libraries' } ); |
127 |
my $library = $builder->build_object( { class => 'Koha::Libraries' } ); |
128 |
my $patron = $builder->build_object( { class => 'Koha::Patrons' } ); |
128 |
my $patron = $builder->build_object( { class => 'Koha::Patrons' } ); |
Lines 151-157
subtest 'no_set_userenv parameter tests' => sub {
Link Here
|
151 |
is( $result[0], 1, 'With TestAuth plugin, checkpw returns 1' ); |
151 |
is( $result[0], 1, 'With TestAuth plugin, checkpw returns 1' ); |
152 |
is( $result[1], 'test', 'With TestAuth plugin, checkpw returns test cardnumber' ); |
152 |
is( $result[1], 'test', 'With TestAuth plugin, checkpw returns test cardnumber' ); |
153 |
is( $result[2], 'test', 'With TestAuth plugin, checkpw returns test userid' ); |
153 |
is( $result[2], 'test', 'With TestAuth plugin, checkpw returns test userid' ); |
154 |
} |
154 |
}; |
155 |
|
155 |
|
156 |
subtest 'checkpw lockout tests' => sub { |
156 |
subtest 'checkpw lockout tests' => sub { |
157 |
|
157 |
|
158 |
- |
|
|