Exemplo n.º 1
0
        public void TestMethod_removeProductsFromCart()
        {
            Setup();

            List <int> productToremove = new List <int>();

            productToremove.Add(p1.Id);

            db.AddProductToCart(admin.Basket.ShoppingCarts[store.Id].Products, admin.Id);
            DBmanager checkDB = new DBmanager(false);

            db.removeProductsFromCart(productToremove, store.Id, admin.Id);
        }