@@ -, +, @@ --- t/db_dependent/Koha/XSLT/Security.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/t/db_dependent/Koha/XSLT/Security.t +++ a/t/db_dependent/Koha/XSLT/Security.t @@ -18,6 +18,7 @@ # along with Koha; if not, see . use Modern::Perl; +use Data::Dumper qw/Dumper/; use File::Temp qw/tempfile/; use Test::More tests => 8; use Test::Warn; @@ -117,7 +118,7 @@ $engine->print_warns(1); my @warn; local $SIG{__WARN__} = sub { push @warn, $_[0]; }; $output= $engine->transform({ xml => "", code => $xslt }); - is( ( grep { /failed to load external/ } @warn ), 1, 'Expected import error' ); + is( ( grep { /failed to load external/ } @warn ), 1, 'Expected import error. Additional info: '.Dumper(@warn) ); is( ( grep { /read_net/ } @warn ), 0, 'No read_net warn for remote import' ); } --