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

(-)a/t/db_dependent/api/v1/patrons.t (-1 / +3 lines)
Lines 311-316 subtest 'add() tests' => sub { Link Here
311
        my $code = 'ho';
311
        my $code = 'ho';
312
        my $attr = "Let's go";
312
        my $attr = "Let's go";
313
313
314
        # Disable trigger to notify patrons of password changes for these tests
315
        t::lib::Mocks::mock_preference( 'NotifyPasswordChange', 0 );
316
314
        # Mock early, so existing mandatory attributes don't break all the tests
317
        # Mock early, so existing mandatory attributes don't break all the tests
315
        my $mocked_patron = Test::MockModule->new('Koha::Patron');
318
        my $mocked_patron = Test::MockModule->new('Koha::Patron');
316
        $mocked_patron->mock(
319
        $mocked_patron->mock(
317
- 

Return to bug 25936