Browse Source

Merge pull request #984 from sicsbd/fix/typo

Fix typo
pull/1000/head
Miguel Veloso 5 years ago
committed by GitHub
parent
commit
6396e0ffbe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      .gitignore
  2. +1
    -1
      src/Services/Catalog/Catalog.API/Model/CatalogItem.cs
  3. +1
    -1
      src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/Order.cs

+ 1
- 1
.gitignore View File

@ -269,4 +269,4 @@ pub/
.mfractor
# Ignore HealthCheckdb
*healthchecksdb*
*healthchecksdb*

+ 1
- 1
src/Services/Catalog/Catalog.API/Model/CatalogItem.cs View File

@ -64,7 +64,7 @@ namespace Microsoft.eShopOnContainers.Services.Catalog.API.Model
if (quantityDesired <= 0)
{
throw new CatalogDomainException($"Item units desired should be greater than cero");
throw new CatalogDomainException($"Item units desired should be greater than zero");
}
int removed = Math.Min(quantityDesired, this.AvailableStock);


+ 1
- 1
src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/Order.cs View File

@ -132,7 +132,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.O
AddDomainEvent(new OrderStatusChangedToPaidDomainEvent(Id, OrderItems));
_orderStatusId = OrderStatus.Paid.Id;
_description = "The payment was performed at a simulated \"American Bank checking bank account endinf on XX35071\"";
_description = "The payment was performed at a simulated \"American Bank checking bank account ending on XX35071\"";
}
}


Loading…
Cancel
Save