Bugzilla – Attachment 144224 Details for
Bug 32343
Koha/Patron.t is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32343: Prevent Koha/Patron.t to fail randomly
Bug-32343-Prevent-KohaPatront-to-fail-randomly.patch (text/plain), 1.22 KB, created by
Martin Renvoize (ashimema)
on 2022-11-25 07:55:57 UTC
(
hide
)
Description:
Bug 32343: Prevent Koha/Patron.t to fail randomly
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-11-25 07:55:57 UTC
Size:
1.22 KB
patch
obsolete
>From 62a656c9678c24e9ea4e4d64db7c9c5173383646 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <martin.renvoize@ptfs-europe.com> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32343
:
144223
| 144224