Bug 32343: Prevent Koha/Patron.t to fail randomly

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>
This commit is contained in:
Jonathan Druart 2022-11-25 07:26:42 +01:00 committed by Tomas Cohen Arazi
parent 78ccd863fc
commit 509ff8f05c
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -552,14 +552,14 @@ subtest 'extended_attributes' => sub {
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 }
}
);