From f9488d41e3ade673d8d13ebdd852dd6e64ea3a88 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 27 May 2016 13:48:10 +0200 Subject: [PATCH] Bug 16607: Follow-up for Holds.t Content-Type: text/plain; charset=utf-8 This test adds a patron category and should raise no warning if it already exists. The new quiet parameter is your friend. Test plan: Add patron category S. Run t/db_dependent/Holds.t and see no warnings. Signed-off-by: Marcel de Rooy --- t/db_dependent/Holds.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/db_dependent/Holds.t b/t/db_dependent/Holds.t index 7e490e3..a3422f4 100755 --- a/t/db_dependent/Holds.t +++ b/t/db_dependent/Holds.t @@ -38,6 +38,7 @@ my $branch_2 = $builder->build({ source => 'Branch' })->{ branchcode }; $builder->build({ source => 'Category', value => { categorycode => 'S', category_type => 'S' }, + quiet => 1, }); my $borrowers_count = 5; -- 1.7.10.4