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

--- Comment #29 from Nick Clemens <[email protected]> ---
(In reply to David Cook from comment #27)
> (In reply to Nick Clemens from comment #26)
> > (In reply to Jonathan Druart from comment #22)
> > > Could you provide a test?
> > 
> > I have tried, but it seems it requires a lot of mocking and I have not been
> > successful, help would be appreciated :-)
> 
> Couldn't you add a unit test for AddRenewal that just puts in junk data to
> trigger the exception?

Indeed I can! Turns out we pass 'lastreneweddate' right through, so adding junk
data in the call lets us trigger the exception

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to