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

(-)a/t/db_dependent/Koha/Notice/Message.t (-3 / +2 lines)
Lines 145-151 subtest 'html_content() tests' => sub { Link Here
145
        }
145
        }
146
    );
146
    );
147
147
148
    t::lib::Mocks::mock_preference( 'NoticeCSS', '' );
148
    t::lib::Mocks::mock_preference( 'AllNoticeStylesheet', '' );
149
    my $css_import      = '';
149
    my $css_import      = '';
150
    my $message         = Koha::Notice::Messages->find($message_id);
150
    my $message         = Koha::Notice::Messages->find($message_id);
151
    my $wrapped_compare = <<"WRAPPED";
151
    my $wrapped_compare = <<"WRAPPED";
Lines 166-172 WRAPPED Link Here
166
    is( $message->html_content, $wrapped_compare, "html_content returned the correct html wrapped letter" );
166
    is( $message->html_content, $wrapped_compare, "html_content returned the correct html wrapped letter" );
167
167
168
    my $css_sheet = 'https://localhost/shiny.css';
168
    my $css_sheet = 'https://localhost/shiny.css';
169
    t::lib::Mocks::mock_preference( 'NoticeCSS', $css_sheet );
169
    t::lib::Mocks::mock_preference( 'AllNoticeStylesheet', $css_sheet );
170
    $css_import = qq{<link rel="stylesheet" type="text/css" href="$css_sheet">};
170
    $css_import = qq{<link rel="stylesheet" type="text/css" href="$css_sheet">};
171
171
172
    $wrapped_compare = <<"WRAPPED";
172
    $wrapped_compare = <<"WRAPPED";
173
- 

Return to bug 35267