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

--- Comment #4 from Jonathan Druart <[email protected]> ---
(In reply to Jonathan Druart from comment #3)
> 4. I've added a test to ApiKey and the result is a bit unexpected:
> 
>     #   Failed test at t/db_dependent/Koha/ApiKey.t line 118.
>     #          got: 'Invalid parameter passed, patron_id= does not exist'
>     #     expected: 'Duplicate ID for key 'patron_id''

Ha, it's actually the message added by your patch that is not accurate.

81             $msg = sprintf( "Invalid parameter passed, %s=%s does not
exist", $self->broken_fk, $self->value );

Note that the test also raises a warning on this line:
`Use of uninitialized value in sprintf at
/kohadevbox/koha/Koha/Exceptions/Object.pm line 81.`

-- 
You are receiving this mail because:
You are the assignee for the bug.
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