Skip to content

Commit bea27ea

Browse files
Add test data for Settlement Summary query
Co-authored-by: StuartFerguson <[email protected]>
1 parent 4f77ce8 commit bea27ea

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

EstateManagementUI.BusinessLogic.Tests/MediatorTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public MediatorTests() {
4545
this.Requests.Add(TestData.GetBottomOperatorDataQuery);
4646
this.Requests.Add(TestData.GetLastSettlementQuery);
4747
this.Requests.Add(TestData.GetProductPerformanceQuery);
48+
this.Requests.Add(TestData.GetSettlementSummaryQuery);
4849

4950
// Commands
5051
this.Requests.Add(TestData.AddNewOperatorCommand);

EstateManagementUI.Testing/TestData.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ public static class TestData {
9292

9393
public static Queries.GetProductPerformanceQuery GetProductPerformanceQuery => new(CorrelationId, AccessToken, EstateId, DateTime.Now.AddDays(-30), DateTime.Now);
9494

95+
public static Queries.GetSettlementSummaryQuery GetSettlementSummaryQuery => new(CorrelationId, AccessToken, EstateId, DateTime.Now.AddDays(-30), DateTime.Now, null, null);
96+
9597
public static Commands.AddMerchantCommand AddNewMerchantCommand => new(CorrelationId, AccessToken, EstateId, CreateMerchantModel(BusinessLogic.Models.SettlementSchedule.Immediate));
9698

9799
public static Commands.UpdateMerchantCommand UpdateMerchantCommand => new(CorrelationId, AccessToken, EstateId, Merchant1Id, new UpdateMerchantModel {

0 commit comments

Comments
 (0)