From 58a1e2b7d2eaa96b315c45563f3f72e81b26c5b3 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Thu, 21 Feb 2019 00:59:22 +0000 Subject: [PATCH] Bug 22206: (QA follow-up) Fix tests for hold suspension api Test plan: prove t/db_dependent/api/v1/holds.t --- t/db_dependent/api/v1/holds.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/api/v1/holds.t b/t/db_dependent/api/v1/holds.t index 700af99..31a1430 100644 --- a/t/db_dependent/api/v1/holds.t +++ b/t/db_dependent/api/v1/holds.t @@ -338,7 +338,7 @@ subtest 'suspend and resume tests' => sub { my $patron = $builder->build_object( { class => 'Koha::Patrons', value => { userid => 'tomasito', flags => 1 } } ); - $patron->set_password($password); + $patron->set_password({ password => $password, skip_validation => 1 }); my $userid = $patron->userid; # Disable logging -- 2.1.4