public CategoryServiceTest() { this.db = TestStartup.CreateDatabase(); this.shoppingCart = TestStartup.CreateShoppingCart(); this.category = this.db.Categories.FirstOrDefault(); this.mapper = TestStartup.CreateMapper(); }
public HomeControllerTest() { this.shoppingCart = TestStartup.CreateShoppingCart(); }
public OrderControllerTest() { this.db = TestStartup.CreateDatabase(); this.shoppingCart = TestStartup.CreateShoppingCart(); }
public ShoppingCartServiceTest() { this.db = TestStartup.CreateDatabase(); this.shoppingCart = TestStartup.CreateShoppingCart(); this.products = this.db.Products.ToList(); }