Bugzilla – Attachment 155407 Details for
Bug 33690
Add ability to send welcome notice when creating patrons using the REST API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33690: Tidy test
Bug-33690-Tidy-test.patch (text/plain), 1.75 KB, created by
Martin Renvoize
on 2023-09-08 11:28:15 UTC
(
hide
)
Description:
Bug 33690: Tidy test
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2023-09-08 11:28:15 UTC
Size:
1.75 KB
patch
obsolete
>From 7d934d154e0d5a7cfe4cbbbc81c59e806a808c73 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 8 Sep 2023 12:26:46 +0100 >Subject: [PATCH] Bug 33690: Tidy test > >--- > t/db_dependent/api/v1/patrons.t | 13 ++++--------- > 1 file changed, 4 insertions(+), 9 deletions(-) > >diff --git a/t/db_dependent/api/v1/patrons.t b/t/db_dependent/api/v1/patrons.t >index ee87abcef4..3ca4b36314 100755 >--- a/t/db_dependent/api/v1/patrons.t >+++ b/t/db_dependent/api/v1/patrons.t >@@ -434,17 +434,12 @@ subtest 'add() tests' => sub { > sub { > > if ($extended_attrs_exception) { >- if ( $extended_attrs_exception eq 'Koha::Exceptions::Patron::Attribute::NonRepeatable' >- or $extended_attrs_exception eq 'Koha::Exceptions::Patron::Attribute::UniqueIDConstraint' >- ) >+ if ( $extended_attrs_exception eq 'Koha::Exceptions::Patron::Attribute::NonRepeatable' >+ or $extended_attrs_exception eq 'Koha::Exceptions::Patron::Attribute::UniqueIDConstraint' ) > { > $extended_attrs_exception->throw( >- attribute => Koha::Patron::Attribute->new( >- { code => $code, attribute => $attr } >- ) >- ); >- } >- else { >+ attribute => Koha::Patron::Attribute->new( { code => $code, attribute => $attr } ) ); >+ } else { > $extended_attrs_exception->throw( type => $type ); > } > } >-- >2.41.0
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 33690
:
150777
|
150787
|
150791
|
152642
|
155396
|
155397
|
155398
|
155406
|
155407
|
156544
|
156545
|
156546