@@ -, +, @@ --- .../bootstrap/en/includes/opac-detail-sidebar.inc | 8 +++----- t/db_dependent/XSLT.t | 6 +++--- 2 files changed, 6 insertions(+), 8 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc @@ -58,12 +58,11 @@
--- a/t/db_dependent/XSLT.t +++ a/t/db_dependent/XSLT.t @@ -18,7 +18,7 @@ use Modern::Perl; use MARC::Record; -use Test::More tests => 4; +use Test::More tests => 7; use Test::Warn; use t::lib::TestBuilder; use t::lib::Mocks; @@ -47,8 +47,8 @@ subtest 'CustomXSLTExportList: Caching' => sub { push @$list, { nonsense => 1 }; $cache->set_in_cache( 'CustomXSLTExportListOPAC', $list ); my $n = @$list; - $list = C4::XSLT::CustomXSLTExportList(1); is( @$list, $n, 'This list comes from the cache and that is fine' ); + $list = C4::XSLT::CustomXSLTExportList(1); $cache->clear_from_cache('CustomXSLTExportListOPAC'); }; @@ -166,8 +166,8 @@ subtest 'CustomXSLTExportList: Caching' => sub { push @$list, { nonsense => 1 }; $cache->set_in_cache('CustomXSLTExportListOPAC', $list ); my $n = @$list; - $list = C4::XSLT::CustomXSLTExportList(1); is( @$list, $n, 'This list comes from the cache and that is fine' ); + $list = C4::XSLT::CustomXSLTExportList(1); $cache->clear_from_cache('CustomXSLTExportListOPAC'); }; subtest 'CustomXSLTExportList: Check export options' => sub { --