From 2727c04da48f7be34278ff7c23d2559c2841b92c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 9 Oct 2017 18:23:58 -0300 Subject: [PATCH] Bug 19441: Fix AuthorisedValues.t Koha::AuthorisedValueCategor[y|ies] do not exist in 16.05.x --- t/db_dependent/Template/Plugin/AuthorisedValues.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/db_dependent/Template/Plugin/AuthorisedValues.t b/t/db_dependent/Template/Plugin/AuthorisedValues.t index 3cf3eed9d7..c5dceed49c 100644 --- a/t/db_dependent/Template/Plugin/AuthorisedValues.t +++ b/t/db_dependent/Template/Plugin/AuthorisedValues.t @@ -31,8 +31,7 @@ my $builder = t::lib::TestBuilder->new; subtest 'GetByCode' => sub { plan tests => 4; - my $avc = - $builder->build( { source => 'AuthorisedValueCategory' } ); + my $avc = { category_name => 'AV_TEST' }; my $av_1 = $builder->build( { source => 'AuthorisedValue', -- 2.11.0