Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TransactionProcessor.Aggregates/ContractAggregate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public static ContractAggregate Create(Guid aggregateId){
[ExcludeFromCodeCoverage]
protected override Object GetMetadata(){
return new{
EstateId = Guid.NewGuid() // TODO: Populate
EstateId = Guid.NewGuid()
};
}

Expand Down
2 changes: 1 addition & 1 deletion TransactionProcessor.Aggregates/OperatorAggregate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected override Object GetMetadata()
{
return new
{
EstateId = Guid.NewGuid() // TODO: Populate
EstateId = Guid.NewGuid()
};
}
}
Expand Down
1 change: 0 additions & 1 deletion TransactionProcessor.Aggregates/ReconciliationAggregate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public static Result StartReconciliation(this ReconciliationAggregate aggregate,
if (transactionDateTime == DateTime.MinValue)
return Result.Invalid($"Transaction Date Time must not be [{DateTime.MinValue}]");

// TODO: Some rules here
if (aggregate.HasBeenStarted || aggregate.IsCompleted) {
return Result.Success();
}
Expand Down
Loading