[Koha-bugs] [Bug 22059] Wrong exception parameters in Koha::Patron->set_password

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 2 22:07:47 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22059

--- Comment #6 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 83608
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83608&action=edit
Bug 22059: Fix exception params in Koha::Patron->set_password

This simple patch fixes a wrong call to ->throw. Parameters shouldn't be
enclosed in curly brackets.

To test:
- Apply the tests patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Patrons.t
=> FAIL: Tests fail because the throw call is wrong
- Apply this patch
- Run:
 k$ prove t/db_dependent/Koha/Patrons.t
=> SUCCESS: Tests pass!
-Sign off :-D

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list