Browse Source

Merge pull request #526 from mvelosop/fix-failling-integration-tests

Fix aborting integration tests
pull/540/head
Miguel Veloso 7 years ago
committed by GitHub
parent
commit
d8d48ae188
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 3 deletions
  1. +12
    -3
      test/Services/IntegrationTests/Services/Basket/BasketScenarios.cs

+ 12
- 3
test/Services/IntegrationTests/Services/Basket/BasketScenarios.cs View File

@ -58,6 +58,15 @@ namespace IntegrationTests.Services.Basket
string BuildBasket()
{
var order = new CustomerBasket("1234");
order.Items.Add(new BasketItem
{
ProductId = "1",
ProductName = ".NET Bot Black Hoodie",
UnitPrice = 10,
Quantity = 1
});
return JsonConvert.SerializeObject(order);
}
@ -70,10 +79,10 @@ namespace IntegrationTests.Services.Basket
State = "state",
Country = "coutry",
ZipCode = "zipcode",
CardNumber = "CardNumber",
CardNumber = "1234567890123456",
CardHolderName = "CardHolderName",
CardExpiration = DateTime.UtcNow,
CardSecurityNumber = "1234",
CardExpiration = DateTime.UtcNow.AddDays(1),
CardSecurityNumber = "123",
CardTypeId = 1,
Buyer = "Buyer",
RequestId = Guid.NewGuid()


Loading…
Cancel
Save