Make testing name scheme consistent (#395)
* Updating CahceHelperTests names * Updating OrdersTests names * Removing tests for "Include" functionality as it lives in a NuGet Package now * Updating Integration Test anems
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate;
|
||||
|
||||
@@ -6,19 +6,17 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
|
||||
namespace Microsoft.eShopWeb.IntegrationTests.Repositories.OrderRepositoryTests
|
||||
{
|
||||
public class GetByIdWithItemsAsync_Should
|
||||
public class GetByIdWithItemsAsync
|
||||
{
|
||||
private readonly CatalogContext _catalogContext;
|
||||
private readonly OrderRepository _orderRepository;
|
||||
private OrderBuilder OrderBuilder { get; } = new OrderBuilder();
|
||||
private readonly ITestOutputHelper _output;
|
||||
public GetByIdWithItemsAsync_Should(ITestOutputHelper output)
|
||||
|
||||
public GetByIdWithItemsAsync()
|
||||
{
|
||||
_output = output;
|
||||
var dbOptions = new DbContextOptionsBuilder<CatalogContext>()
|
||||
.UseInMemoryDatabase(databaseName: "TestCatalog")
|
||||
.Options;
|
||||
@@ -27,7 +25,7 @@ namespace Microsoft.eShopWeb.IntegrationTests.Repositories.OrderRepositoryTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task GetOrderAndItemsByOrderId_When_MultipleOrdersPresent()
|
||||
public async Task GetOrderAndItemsByOrderIdWhenMultipleOrdersPresent()
|
||||
{
|
||||
//Arrange
|
||||
var itemOneUnitPrice = 5.50m;
|
||||
Reference in New Issue
Block a user