Currently verification_token is generated outside of the class. Move this logic into Koha::Patron::Modification->new.
Created attachment 60949 [details] [review] Bug 18230: Generate verification_token in Koha::Patron::Modification->new To test: 1. prove t/db_dependent/Koha/Patron/Modifications.t
(In reply to Lari Taskula from comment #0) > Currently verification_token is generated outside of the class. Move this > logic into Koha::Patron::Modification->new. Ok but with this patch you are not moving it, you are duplicating it.