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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #184381|0                           |1
        is obsolete|                            |

--- Comment #7 from David Nind <[email protected]> ---
Created attachment 184416
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=184416&action=edit
Bug 40387: Add Test::NoWarnings and replace carp with Koha::Logger

This patch adds Test::NoWarnings to our EDI unit tests. In doing so, it
reminded me that we still had some old carp style error handling in the
process_quote section and that we shoudl replace those with calls to
Koha::Logger instead.

Changes made:
1. Added Test::NoWarnings import to catch any warnings
2. Replace 'carp "Message"' appropriately with
   '$logger->warn("Message")'

Signed-off-by: David Nind <[email protected]>

-- 
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