-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shaed Parkar
committed
Oct 13, 2023
1 parent
b1b2cf8
commit d8d4666
Showing
13 changed files
with
30 additions
and
40 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
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 |
---|---|---|
|
@@ -390,18 +390,15 @@ public void Setup() | |
_v2HearingDetailsResponse = new HearingDetailsResponseV2 | ||
{ | ||
Id = _validId, | ||
ScheduledDateTime = new DateTime(), | ||
ScheduledDateTime = DateTime.UtcNow, | ||
ServiceId = "ServiceId", | ||
HearingTypeCode = "HearingTypeCode", | ||
Participants = new List<ParticipantResponseV2> | ||
{ | ||
new() | ||
{ | ||
Id = Guid.NewGuid(), | ||
UserRoleName = "Individual", | ||
ContactEmail = "[email protected]", | ||
Username = "[email protected]", | ||
CaseRoleName = "caseRoleName", | ||
ContactEmail = "[email protected]" | ||
} | ||
}, | ||
Cases = new List<CaseResponseV2> | ||
|
@@ -415,12 +412,12 @@ public void Setup() | |
}, | ||
HearingRoomName = "hearingRoomName", | ||
OtherInformation = "otherInformation", | ||
CreatedDate = new DateTime(), | ||
CreatedDate = DateTime.UtcNow, | ||
CreatedBy = "createdBy", | ||
UpdatedBy = "updatedBy", | ||
UpdatedDate = new DateTime(), | ||
UpdatedDate = DateTime.UtcNow, | ||
ConfirmedBy = "confirmedBy", | ||
ConfirmedDate = new DateTime(), | ||
ConfirmedDate = DateTime.UtcNow, | ||
Status = BookingStatusV2.Booked, | ||
AudioRecordingRequired = true, | ||
CancelReason = null, | ||
|
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 |
---|---|---|
|
@@ -15,7 +15,6 @@ | |
using BookingsApi.Contract.V1.Enums; | ||
using BookingsApi.Contract.V2.Enums; | ||
using BookingsApi.Contract.V2.Responses; | ||
using Moq.Language.Flow; | ||
using VideoApi.Contract.Responses; | ||
|
||
namespace AdminWebsite.UnitTests.Controllers.HearingsController | ||
|
@@ -105,18 +104,15 @@ public void Initialise() | |
_vhExistingHearingV2 = new HearingDetailsResponseV2 | ||
{ | ||
Id = _guid, | ||
ScheduledDateTime = new DateTime(), | ||
ScheduledDateTime = DateTime.UtcNow, | ||
ServiceId = "ServiceId", | ||
HearingTypeCode = "HearingTypeCode", | ||
Participants = new List<ParticipantResponseV2> | ||
{ | ||
new() | ||
{ | ||
Id = Guid.NewGuid(), | ||
UserRoleName = "Individual", | ||
ContactEmail = "[email protected]", | ||
Username = "[email protected]", | ||
CaseRoleName = "caseRoleName", | ||
} | ||
}, | ||
Cases = new List<CaseResponseV2> | ||
|
@@ -130,12 +126,12 @@ public void Initialise() | |
}, | ||
HearingRoomName = "hearingRoomName", | ||
OtherInformation = "otherInformation", | ||
CreatedDate = new DateTime(), | ||
CreatedDate = DateTime.UtcNow, | ||
CreatedBy = "createdBy", | ||
UpdatedBy = "updatedBy", | ||
UpdatedDate = new DateTime(), | ||
UpdatedDate = DateTime.UtcNow, | ||
ConfirmedBy = "confirmedBy", | ||
ConfirmedDate = new DateTime(), | ||
ConfirmedDate = DateTime.UtcNow, | ||
Status = BookingStatusV2.Booked, | ||
AudioRecordingRequired = true, | ||
CancelReason = null, | ||
|
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
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
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
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
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