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

(-)a/t/db_dependent/Suggestions.t (-3 / +4 lines)
Lines 473-480 subtest 'EmailPurchaseSuggestions' => sub { Link Here
473
        'New suggestion does not send an email when EmailPurchaseSuggestions disabled' );
473
        'New suggestion does not send an email when EmailPurchaseSuggestions disabled' );
474
474
475
    # EmailPurchaseSuggestions set to BranchEmailAddress
475
    # EmailPurchaseSuggestions set to BranchEmailAddress
476
    t::lib::Mocks::mock_preference( "EmailPurchaseSuggestions",
476
    t::lib::Mocks::mock_preference( "EmailPurchaseSuggestions", "BranchEmailAddress" );
477
        "BranchEmailAddress" );
477
    t::lib::Mocks::mock_preference( "ReplytoDefault", "" );
478
    t::lib::Mocks::mock_preference( "EmailAddressForSuggestions", "" );
479
    Koha::Libraries->find('CPL')->update( { branchemail => '', branchreplyto => '' } );
478
    Koha::Suggestion->new($my_suggestion)->store;
480
    Koha::Suggestion->new($my_suggestion)->store;
479
481
480
    t::lib::Mocks::mock_preference( "ReplytoDefault", 'library@b.c' );
482
    t::lib::Mocks::mock_preference( "ReplytoDefault", 'library@b.c' );
481
- 

Return to bug 35215