Bug 27857: Remove unecessary $attribute_type3 var

It could be created with mandatory=1 and will make tests fail

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-04-21 09:46:46 +02:00
parent d667150e16
commit 078c88ea95

View file

@ -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;