@@ -112,7 +112,7 @@ void shouldLogWarningWhenLateAcknowledgementReceivedAfter8DaysAndEhrReceivedAckH
112112 ehrExtractStatusServiceSpy .updateEhrExtractStatusAck (conversationId , ack );
113113
114114 verify (logger , times (1 ))
115- .warn ("Received an ACK message with conversation_id : {}, "
115+ .warn ("Received an ACK message with conversationId : {}, "
116116 + "but it is being ignored because the EhrExtract has already been marked as failed "
117117 + "from not receiving an acknowledgement from the requester in time." ,
118118 conversationId );
@@ -144,9 +144,9 @@ void shouldNotLogWarningThatAckIsIgnoredWhenAcknowledgementReceivedAfter8Days()
144144 ehrExtractStatusServiceSpy .updateEhrExtractStatusAck (conversationId , ack );
145145
146146 verify (logger , never ())
147- .warn ("Received an ACK message with a conversation_id : {}, but it will be ignored" , conversationId );
147+ .warn ("Received an ACK message with a conversationId : {}, but it will be ignored" , conversationId );
148148 verify (logger , times (1 ))
149- .warn ("Received an ACK message with a conversation_id : {} that is a duplicate" , conversationId );
149+ .warn ("Received an ACK message with a conversationId : {} that is a duplicate" , conversationId );
150150 }
151151
152152 @ Test
@@ -166,7 +166,7 @@ void shouldUpdateStatusWithErrorAndSpecificErrorCodeAndMessage() {
166166 ERROR_MESSAGE );
167167
168168 verify (logger ).info ("EHR status (EHR received acknowledgement) record successfully "
169- + "updated in the database with error information conversation_id : {}" , inProgressConversationId );
169+ + "updated in the database with error information conversationId : {}" , inProgressConversationId );
170170 verify (mongoTemplate , times (1 )).findAndModify (queryCaptor .capture (),
171171 updateCaptor .capture (),
172172 any (FindAndModifyOptions .class ),
@@ -219,9 +219,9 @@ void shouldNotLogWarningThatAckIsIgnoredWhenAcknowledgementReceivedAfterWithinAn
219219 ehrExtractStatusServiceSpy .updateEhrExtractStatusAck (conversationId , ack );
220220
221221 verify (logger , never ())
222- .warn ("Received an ACK message with a conversation_id : {}, but it will be ignored" , conversationId );
222+ .warn ("Received an ACK message with a conversationId : {}, but it will be ignored" , conversationId );
223223 verify (logger , times (1 ))
224- .warn ("Received an ACK message with a conversation_id : {} that is a duplicate" , conversationId );
224+ .warn ("Received an ACK message with a conversationId : {} that is a duplicate" , conversationId );
225225 }
226226
227227 @ Test
@@ -243,9 +243,9 @@ void updateEhrExtractStatusWhenEhrExtractCorePendingIsNull() {
243243
244244 ehrExtractStatusServiceSpy .updateEhrExtractStatusAck (conversationId , ack );
245245
246- verify (logger , never ()).warn ("Received an ACK message with a conversation_id ={} exceeded 8 days" , conversationId );
246+ verify (logger , never ()).warn ("Received an ACK message with a conversationId ={} exceeded 8 days" , conversationId );
247247 verify (logger , times (1 ))
248- .info ("Database successfully updated with EHRAcknowledgement, conversation_id : {}" , conversationId );
248+ .info ("Database successfully updated with EHRAcknowledgement, conversationId : {}" , conversationId );
249249 }
250250
251251 @ Test
@@ -262,7 +262,7 @@ void ehrExtractStatusThrowsExceptionWhenConversationIdNotFound() {
262262 Exception exception = assertThrows (UnrecognisedInteractionIdException .class , () ->
263263 ehrExtractStatusServiceSpy .updateEhrExtractStatusAck (conversationId , ack ));
264264
265- assertEquals ("Received an unrecognized ACK message with conversation_id : " + conversationId ,
265+ assertEquals ("Received an unrecognized ACK message with conversationId : " + conversationId ,
266266 exception .getMessage ());
267267
268268 verify (ehrExtractStatusServiceSpy , never ()).updateEhrExtractStatusError (conversationId ,
@@ -404,7 +404,7 @@ void shouldUpdateStatusWithErrorWhenEhrExtractAckTimeoutOccurs() {
404404 ERROR_MESSAGE );
405405
406406 verify (logger ).info ("EHR status (EHR received acknowledgement) record successfully "
407- + "updated in the database with error information conversation_id : {}" , inProgressConversationId );
407+ + "updated in the database with error information conversationId : {}" , inProgressConversationId );
408408 }
409409
410410
@@ -521,7 +521,7 @@ void shouldLogWarningWithMsgIgnoredWhenLateAcknowledgementReceivedAfter8DaysAndE
521521 ehrExtractStatusServiceSpy .updateEhrExtractStatusAck (conversationId , ack );
522522
523523 verify (logger , times (1 ))
524- .warn ("Received an ACK message with conversation_id : {}, "
524+ .warn ("Received an ACK message with conversationId : {}, "
525525 + "but it is being ignored because the EhrExtract has already been marked as failed "
526526 + "from not receiving an acknowledgement from the requester in time." ,
527527 conversationId );
0 commit comments