From 98c3adf6285cb505af8d4f343950bdde2ad195e4 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 Signed-off-by: Mark Tompsett --- 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 3cf3eed..c5dceed 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.1.4