[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 19:06:57 CEST 2018


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

--- Comment #24 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #23)
> Created attachment 81160 [details] [review]
> 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*

Pushed to master, phew :-)

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


More information about the Koha-bugs mailing list