]> git.koha-community.org Git - koha.git/commit
Bug 32612: (QA follow-up) Add BINMODE method to C4::SIP::Trapper
authorKyle Hall <kyle@bywatersolutions.com>
Tue, 7 Feb 2023 11:49:28 +0000 (06:49 -0500)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 7 Feb 2023 17:22:58 +0000 (14:22 -0300)
commitd00d07cae751986a220d114ff165cbf5206a0283
treef15a2e4118c07cba90065bfb73a44bd1829a1a7f
parent44d8d2efffcb38d1d91fbc8acfd1d1b13b854dbe
Bug 32612: (QA follow-up) Add BINMODE method to C4::SIP::Trapper

The module Log::Log4perl::Appender::Screen is attempting to change
binmode during unit tests for SIPServer and is failing because of
our tie in SIPServer.pm for reasons unknown.

This patch implements the perltie method TIEHANDLE which allows the
binmode to be handled in the C4::SIP::Trapper package.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/SIP/Trapper.pm