Bugzilla – Attachment 84539 Details for
Bug 22132
Add Basic authentication to the REST API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22132: (QA follow-up) set_password now expects a hashref
Bug-22132-QA-follow-up-setpassword-now-expects-a-h.patch (text/plain), 1.30 KB, created by
Tomás Cohen Arazi (tcohen)
on 2019-01-30 18:47:56 UTC
(
hide
)
Description:
Bug 22132: (QA follow-up) set_password now expects a hashref
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2019-01-30 18:47:56 UTC
Size:
1.30 KB
patch
obsolete
>From 313b2df4f55851dcae64328c254e764db497766c Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 30 Jan 2019 15:46:04 -0300 >Subject: [PATCH] Bug 22132: (QA follow-up) set_password now expects a hashref > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/api/v1/auth_basic.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/api/v1/auth_basic.t b/t/db_dependent/api/v1/auth_basic.t >index eba153a67d..4fb48f0277 100644 >--- a/t/db_dependent/api/v1/auth_basic.t >+++ b/t/db_dependent/api/v1/auth_basic.t >@@ -40,7 +40,7 @@ subtest 'success tests' => sub { > > my $patron = $builder->build_object( > { class => 'Koha::Patrons', value => { userid => 'tomasito', flags => 2**4 } } ); >- $patron->set_password($password); >+ $patron->set_password({ password => $password }); > my $userid = $patron->userid; > > $t->get_ok("//$userid:$password@/api/v1/patrons") >@@ -71,7 +71,7 @@ subtest 'failure tests' => sub { > > my $patron = $builder->build_object( > { class => 'Koha::Patrons', value => { userid => 'tomasito', flags => 2**4 } } ); >- $patron->set_password($password); >+ $patron->set_password({ password => $password }); > my $userid = $patron->userid; > > $t->get_ok("//@/api/v1/patrons") >-- >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 22132
:
83989
|
83990
|
83991
|
83993
|
83994
|
83995
|
84353
|
84354
|
84355
|
84361
|
84362
|
84363
|
84364
|
84365
|
84368
|
84369
|
84371
|
84535
|
84536
|
84537
|
84538
| 84539 |
85024