]> git.koha-community.org Git - koha.git/commit
Bug 32426: Patron::generate_userid - add plugin hook
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 5 Dec 2022 14:17:37 +0000 (15:17 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Mar 2023 10:49:50 +0000 (12:49 +0200)
commitc0260e4501c74739da14599d510e4f6cc71dd2b4
tree18b235150830bb393cf44a3e04f76216eaa5805c
parentba1d1ee5c9746d8889b6141916e452a0981b7ccb
Bug 32426: Patron::generate_userid - add plugin hook

The hook is called patron_generate_userid. How suitable.
The existing generate_userid tests and new tests with mocked
plugins are merged into a new test script.

Test plan:
Run t/db_dependent/Koha/Patron_generate_userid.t
Run t/db_dependent/Koha/Patrons.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron.pm
t/db_dependent/Koha/Patron_generate_userid.t [new file with mode: 0755]
t/db_dependent/Koha/Patrons.t