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

(-)a/t/db_dependent/Passwordrecovery.t (+4 lines)
Lines 42-47 $module->mock( Link Here
42
42
43
use_ok('Koha::Patron::Password::Recovery');
43
use_ok('Koha::Patron::Password::Recovery');
44
44
45
use t::lib::Mocks;
46
t::lib::Mocks::mock_preference('KohaAdminEmailAddress', 'root@example.org');
45
my $schema = Koha::Database->new()->schema();
47
my $schema = Koha::Database->new()->schema();
46
$schema->storage->txn_begin();
48
$schema->storage->txn_begin();
47
49
Lines 67-72 my $branch = $builder->build({ Link Here
67
    source => 'Branch',
69
    source => 'Branch',
68
    value => {
70
    value => {
69
        branchreturnpath => $email1,
71
        branchreturnpath => $email1,
72
        branchemail => 'branch@koha-community.org',
73
        reply_to => 'branch@koha-community.org',
70
    },
74
    },
71
});
75
});
72
76

Return to bug 22343