From f767ff600ebb0487eafae1779273ceb7ed27d262 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 22 Sep 2023 08:51:59 +0000 Subject: [PATCH] Bug 34848: (QA follow-up) Resolve warn on useless constant Content-Type: text/plain; charset=utf-8 Useless use of a constant ("Dies if sip user cannot be found") in void context at t/db_dependent/SIP/Message.t line 582. We should remove the comma.. Signed-off-by: Marcel de Rooy --- 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 0ac278c4b3..a8b4ef70bb 100755 --- a/t/db_dependent/SIP/Message.t +++ b/t/db_dependent/SIP/Message.t @@ -579,7 +579,7 @@ subtest 'SC status tests' => sub { $sip_user->delete; - dies_ok{ $msg->handle_sc_status( $server ) } ,"Dies if sip user cannot be found"; + dies_ok { $msg->handle_sc_status( $server ) } "Dies if sip user cannot be found"; $schema->storage->txn_rollback; }; -- 2.30.2