From 62a656c9678c24e9ea4e4d64db7c9c5173383646 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" Signed-off-by: Martin Renvoize --- 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 ae8a7eed46..e92b054d86 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.20.1