Bug 22132: (QA follow-up) set_password now expects a hashref
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> (cherry picked from commit63f40e519c) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit3c8f67afe8) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
7296f1d0bf
commit
c028f91674
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue