File tree Expand file tree Collapse file tree
TransactionProcessor.BusinessLogic.Tests/Manager
TransactionProcessor/Factories Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ public async Task TransactionProcessorManager_GetMerchantSchedule_MerchantSchedu
373373 }
374374
375375 [ Fact ]
376- public async Task TransactionProcessorManager_GetMerchantSchedule_MerchantScheduleNotCreated_ErrorThrown ( )
376+ public async Task TransactionProcessorManager_GetMerchantSchedule_MerchantScheduleNotCreated_ReturnsFailure ( )
377377 {
378378 this . AggregateService
379379 . Setup ( m => m . GetLatest < MerchantScheduleAggregate > ( It . IsAny < Guid > ( ) , It . IsAny < CancellationToken > ( ) ) )
Original file line number Diff line number Diff line change @@ -512,17 +512,17 @@ public static MerchantResponse ConvertFrom(Models.Merchant.Merchant merchant)
512512 return merchantResponse ;
513513 }
514514
515- public static MerchantScheduleResponse ConvertFrom ( TransactionProcessor . Models . MerchantSchedule . MerchantSchedule schedule )
515+ public static MerchantScheduleResponse ConvertFrom ( TransactionProcessor . Models . MerchantSchedule . MerchantSchedule merchantSchedule )
516516 {
517- if ( schedule == null )
517+ if ( merchantSchedule == null )
518518 {
519519 return null ;
520520 }
521521
522522 return new MerchantScheduleResponse
523523 {
524- Year = schedule . Year ,
525- Months = schedule . Months . Select ( month => new MerchantScheduleMonthResponse
524+ Year = merchantSchedule . Year ,
525+ Months = merchantSchedule . Months . Select ( month => new MerchantScheduleMonthResponse
526526 {
527527 Month = month . Month ,
528528 ClosedDays = [ .. month . ClosedDays ]
You can’t perform that action at this time.
0 commit comments