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

(-)a/t/db_dependent/Koha/XSLT/Security.t (-2 / +1 lines)
Lines 124-130 $engine->print_warns(1); Link Here
124
    my @warn;
124
    my @warn;
125
    local $SIG{__WARN__} = sub { push @warn, $_[0]; };
125
    local $SIG{__WARN__} = sub { push @warn, $_[0]; };
126
    $output= $engine->transform( "<ignored/>", $xslt_file );
126
    $output= $engine->transform( "<ignored/>", $xslt_file );
127
    is( ( grep { /failed to load external/ } @warn ), 1, 'Expected import error' );
127
    is( ( grep { /failed to load (external entity|HTTP resource)/ } @warn ), 1, 'Expected import error' ); # we saw both messages on Jenkins passing by
128
    is( ( grep { /read_net/ } @warn ), 0, 'No read_net warn for remote import' );
128
    is( ( grep { /read_net/ } @warn ), 0, 'No read_net warn for remote import' );
129
}
129
}
130
130
131
- 

Return to bug 24756