[Koha-bugs] [Bug 21596] Handle default values when storing Koha::Patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 25 15:26:12 CEST 2018


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

--- Comment #23 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 81160
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81160&action=edit
Bug 21596: (follow-up) Handle updated_on

Default value should only used if not exist.
We got a failing test with the previous patch:
 #   Failed test 'borrowers.updated_on should have been kept to what we set on
creating'
 #   at t/db_dependent/Patrons.t line 78.
 #          got: '1'
 #     expected: '0'

Test plan:
prove -r t/Auth_with_shibboleth.t t/db_dependent/Patrons.t
t/db_dependent/Koha/Patron*

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


More information about the Koha-bugs mailing list