Highlighted by Bug 32030: fix test builder for boolean
The attribute is named "unique_id", not "unique"
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
my $attribute_type_1 = $builder->build_object(
{
class => 'Koha::Patron::Attribute::Types',
- value => { unique => 1 }
+ value => { unique_id => 1 }
}
);
my $attribute_type_2 = $builder->build_object(
{
class => 'Koha::Patron::Attribute::Types',
- value => { unique => 0 }
+ value => { unique_id => 0 }
}
);