From ee22f4790f4c5e2c3b90490e714012c93b2b71ab Mon Sep 17 00:00:00 2001 From: Vijay Joshi Date: Tue, 18 Jun 2024 18:08:43 +0530 Subject: [PATCH] INFRA-3437 : UT failure fix (#430) * INFRA-3437 : Compilation error fix * INFRA-3437 : UT failure fix --- service/incident/impl/incident_service_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/incident/impl/incident_service_test.go b/service/incident/impl/incident_service_test.go index 2856f99..5672839 100644 --- a/service/incident/impl/incident_service_test.go +++ b/service/incident/impl/incident_service_test.go @@ -374,6 +374,8 @@ func (suite *IncidentServiceSuite) Test_UpdateIncident_ChannelRenameError() { suite.slackService.SetTopicOfConversationByChannelIdMock.Return(errors.New("Could not set topic of conversation")) + suite.userRepository.FindHoustonUserBySlackUserIdMock.Return(GetMockHoustonUser(), nil) + _, err := suite.incidentService.UpdateIncident( service.UpdateIncidentRequest{ Id: suite.mockIncidentId,