View | Details | Raw Unified | Return to bug 28787
Collapse All | Expand All

(-)a/t/db_dependent/api/v1/two_factor_auth.t (-1 / +5 lines)
Lines 36-41 t::lib::Mocks::mock_preference( 'SessionStorage', 'tmp' ); Link Here
36
my $remote_address = '127.0.0.1';
36
my $remote_address = '127.0.0.1';
37
my $t              = Test::Mojo->new('Koha::REST::V1');
37
my $t              = Test::Mojo->new('Koha::REST::V1');
38
38
39
my $mocked_koha_email = Test::MockModule->new('Koha::Email');
40
$mocked_koha_email->mock( 'send_or_die', sub {
41
    return 1;
42
});
43
39
subtest 'send_otp_token' => sub {
44
subtest 'send_otp_token' => sub {
40
45
41
    plan tests => 9;
46
    plan tests => 9;
42
- 

Return to bug 28787