Lines 274-279
subtest 'checkauth() tests' => sub {
Link Here
|
274 |
subtest 'Two-factor authentication' => sub { |
274 |
subtest 'Two-factor authentication' => sub { |
275 |
plan tests => 18; |
275 |
plan tests => 18; |
276 |
|
276 |
|
|
|
277 |
t::lib::Mocks::mock_preference( 'AutoLocation', 0 ); |
278 |
|
277 |
my $patron = $builder->build_object( |
279 |
my $patron = $builder->build_object( |
278 |
{ class => 'Koha::Patrons', value => { flags => 1 } } ); |
280 |
{ class => 'Koha::Patrons', value => { flags => 1 } } ); |
279 |
my $password = 'password'; |
281 |
my $password = 'password'; |
280 |
- |
|
|