From 7aa7ca51f275acb3b46d290e700bf9fdba743070 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 27 May 2019 09:39:34 +0000 Subject: [PATCH] Bug 15221: (QA follow-up) Fix Message.t As Jonathan reported on comment11, SIP/Message.t fails now. This is a trivial fix for that. In the first case we should just no longer expect the alert flag. In the second case it makes more sense to toggle the value of the checked_in_ok setting. Test plan: Run t/db_dependent/SIP/Message.t Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens (cherry picked from commit 533ff7ab29a1ca6d35d0e306dd97273838ad3064) Signed-off-by: Martin Renvoize --- t/db_dependent/SIP/Message.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/SIP/Message.t b/t/db_dependent/SIP/Message.t index f837fb4dd4..0ee1a39702 100755 --- a/t/db_dependent/SIP/Message.t +++ b/t/db_dependent/SIP/Message.t @@ -358,7 +358,7 @@ sub test_checkin_v2 { $msg = C4::SIP::Sip::MsgType->new( $siprequest, 0 ); $msg->handle_checkin( $server ); is( substr($response,2,1), '1', 'OK flag is true now with checked_in_ok flag set when checking in an item that was not checked out' ); - is( substr($response,5,1), 'Y', 'Alert flag is set' ); + is( substr($response,5,1), 'N', 'Alert flag no longer set' ); check_field( $respcode, $response, FID_SCREEN_MSG, undef, 'No screen msg' ); $server->{account}->{checked_in_ok} = 0; -- 2.39.5