-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* DTO needs a public setter for the mapper to work * avoid use of literal strings (cherry picked from commit 31595ab)
- Loading branch information
1 parent
1c2c053
commit 698246f
Showing
4 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -793,5 +793,29 @@ public async Task Should_send_multiday_confirmation_notifications_for_existing_p | |
|
||
_notificationApiClient.NotificationRequests.Should().HaveCount(1); | ||
} | ||
|
||
[Test] | ||
public async Task should_handle_EndpointUpdatedIntegrationEvent() | ||
{ | ||
const string message = @" | ||
{ | ||
'$type': 'BookingsApi.Infrastructure.Services.IntegrationEvents.EventMessage, BookingsApi.Infrastructure.Services', | ||
'id': '20579099-f03b-4ace-adf5-fb6d4ce5760f', | ||
'timestamp': '2024-10-18T13:38:05.886327Z', | ||
'integration_event': { | ||
'$type': 'BookingsApi.Infrastructure.Services.IntegrationEvents.Events.EndpointUpdatedIntegrationEvent, BookingsApi.Infrastructure.Services', | ||
'hearing_id': 'fb1ab55d-80ce-4700-91a3-8136e3a844d6', | ||
'sip': '[email protected]', | ||
'display_name': 'Endpoint 1', | ||
'defence_advocate': null, | ||
'role': 'host' | ||
} | ||
} | ||
"; | ||
|
||
await _sut.Run(message); | ||
_videoApiService.UpdateEndpointInConferenceCount.Should().Be(1); | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "6.0.100", | ||
"rollForward": "latestFeature" | ||
} | ||
} |