From 078c88ea95a9f12b324786efb66a84b9c823374e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 21 Apr 2021 09:46:46 +0200 Subject: [PATCH] Bug 27857: Remove unecessary $attribute_type3 var It could be created with mandatory=1 and will make tests fail Signed-off-by: Jonathan Druart --- t/db_dependent/Koha/Patron.t | 2 -- 1 file changed, 2 deletions(-) diff --git a/t/db_dependent/Koha/Patron.t b/t/db_dependent/Koha/Patron.t index 7bcd427da4..980c1e9975 100755 --- a/t/db_dependent/Koha/Patron.t +++ b/t/db_dependent/Koha/Patron.t @@ -395,8 +395,6 @@ subtest 'extended_attributes' => sub { } )->store; - my $attribute_type3 = $builder->build_object({ class => 'Koha::Patron::Attribute::Types' }); - my $new_library = $builder->build( { source => 'Branch' } ); my $attribute_type_limited = Koha::Patron::Attribute::Type->new( { code => 'my code3', description => 'my description3' } )->store; -- 2.20.1