@@ -91,7 +91,7 @@ public function testShouldLogMessageReceived()
9191 $ logger
9292 ->expects ($ this ->once ())
9393 ->method ('debug ' )
94- ->with ('Received from {queueName} {body} ' , [
94+ ->with ('Received from {queueName} ' , [
9595 'queueName ' => 'aQueue ' ,
9696 'redelivered ' => false ,
9797 'body ' => Stringify::that ('aBody ' ),
@@ -118,7 +118,7 @@ public function testShouldLogMessageProcessedWithStringResult()
118118 ->expects ($ this ->once ())
119119 ->method ('log ' )
120120 ->with (LogLevel::INFO ,
121- 'Processed from {queueName} {body} {result} ' ,
121+ 'Processed from {queueName} ' ,
122122 [
123123 'queueName ' => 'aQueue ' ,
124124 'body ' => Stringify::that ('aBody ' ),
@@ -148,7 +148,7 @@ public function testShouldLogRejectedMessageAsError()
148148 ->expects ($ this ->once ())
149149 ->method ('log ' )
150150 ->with (LogLevel::ERROR ,
151- 'Processed from {queueName} {body} {result} ' ,
151+ 'Processed from {queueName} ' ,
152152 [
153153 'queueName ' => 'aQueue ' ,
154154 'body ' => Stringify::that ('aBody ' ),
@@ -178,7 +178,7 @@ public function testShouldLogMessageProcessedWithResultObject()
178178 ->expects ($ this ->once ())
179179 ->method ('log ' )
180180 ->with (LogLevel::INFO ,
181- 'Processed from {queueName} {body} {result} ' ,
181+ 'Processed from {queueName} ' ,
182182 [
183183 'queueName ' => 'aQueue ' ,
184184 'body ' => Stringify::that ('aBody ' ),
@@ -208,7 +208,7 @@ public function testShouldLogMessageProcessedWithReasonResultObject()
208208 ->expects ($ this ->once ())
209209 ->method ('log ' )
210210 ->with (LogLevel::INFO ,
211- 'Processed from {queueName} {body} {result} {reason} ' ,
211+ 'Processed from {queueName} ' ,
212212 [
213213 'queueName ' => 'aQueue ' ,
214214 'body ' => Stringify::that ('aBody ' ),
0 commit comments