From 7a14489ff286cc25bb7e603145d76e30d38cf886 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 25 Nov 2022 07:26:42 +0100 Subject: [PATCH] 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" --- t/db_dependent/Koha/Patron.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Koha/Patron.t b/t/db_dependent/Koha/Patron.t index ae8a7eed466..e92b054d867 100755 --- a/t/db_dependent/Koha/Patron.t +++ b/t/db_dependent/Koha/Patron.t @@ -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 } } ); -- 2.25.1