@@ -, +, @@ --- t/db_dependent/Filter_MARC_OpacHiddenItems.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/t/db_dependent/Filter_MARC_OpacHiddenItems.t +++ a/t/db_dependent/Filter_MARC_OpacHiddenItems.t @@ -43,7 +43,7 @@ $dbh->{RaiseError} = 1; sub run_hiding_tests { - my $cache = Koha::Cache->get_instance(); + my $cache = Koha::Cache->new(); $cache->flush_all(); # easy way to ensure DB is queried again. my $processor = Koha::RecordProcessor->new( --