diff --git a/BookingQueueSubscriber/BookingQueueSubscriber.Services/MessageHandlers/Dtos/ParticipantDto.cs b/BookingQueueSubscriber/BookingQueueSubscriber.Services/MessageHandlers/Dtos/ParticipantDto.cs index 3098c10d..15210ae2 100644 --- a/BookingQueueSubscriber/BookingQueueSubscriber.Services/MessageHandlers/Dtos/ParticipantDto.cs +++ b/BookingQueueSubscriber/BookingQueueSubscriber.Services/MessageHandlers/Dtos/ParticipantDto.cs @@ -16,9 +16,10 @@ public class ParticipantDto public enum CaseRoleGroup { - PartyGroup0 = 0, - PartyGroup1 = 1, - PartyGroup2 = 2, - PartyGroup3 = 3, + Judge = 0, + Claimant = 1, + Defendant = 2, + Applicant = 3, + Respondent = 4 } } \ No newline at end of file diff --git a/BookingQueueSubscriber/BookingQueueSubscriber.UnitTests/BookingQueueSubscriberFunction/RunTests.cs b/BookingQueueSubscriber/BookingQueueSubscriber.UnitTests/BookingQueueSubscriberFunction/RunTests.cs index 5bb0b43f..350b3d4e 100644 --- a/BookingQueueSubscriber/BookingQueueSubscriber.UnitTests/BookingQueueSubscriberFunction/RunTests.cs +++ b/BookingQueueSubscriber/BookingQueueSubscriber.UnitTests/BookingQueueSubscriberFunction/RunTests.cs @@ -33,7 +33,7 @@ public void should_handle_hearing_ready_for_video_integration_event() 'display_name':'DisplayName1', 'hearing_role':'Claimant LIP', 'user_role':'Individual', - 'case_group_type':'partyGroup1', + 'case_group_type':'Claimant', 'representee':'' }, { @@ -43,7 +43,7 @@ public void should_handle_hearing_ready_for_video_integration_event() 'display_name':'DisplayName2', 'hearing_role':'Solicitor', 'user_role':'Representative', - 'case_group_type':'partyGroup1', + 'case_group_type':'Claimant', 'representee':'Representee2' }, { @@ -53,7 +53,7 @@ public void should_handle_hearing_ready_for_video_integration_event() 'display_name':'DisplayName5', 'hearing_role':'Judge', 'user_role':'Judge', - 'case_group_type':'partyGroup0', + 'case_group_type':'Judge', 'representee':'' } ],