Update AddItemToBasket.cs

This commit is contained in:
Steve Smith
2021-10-26 12:40:40 -04:00
committed by GitHub
parent c7e171e03f
commit 4da4822e8e

View File

@@ -14,7 +14,7 @@ namespace Microsoft.eShopWeb.UnitTests.ApplicationCore.Services.BasketServiceTes
private readonly Mock<IRepository<Basket>> _mockBasketRepo = new();
[Fact]
public async Task InvokesBasketRepositoryFirstOrDefaultAsyncOnce()
public async Task InvokesBasketRepositoryGetBySpecAsyncOnce()
{
var basket = new Basket(_buyerId);
basket.AddItem(1, It.IsAny<decimal>(), It.IsAny<int>());