public async Task OneTimeSetUp() { var cartID = await SetupData(); cartBeforeCampaign = await apiHelper.GetCartByID(cartID); await apiHelper.CreateACampaign(new CreateCampaignRequest { CategoryID = campaignCategoryID, MinimumItemCount = 1, Rate = 0.10m, Type = DiscountType.Rate }); cartAfterCampaign = await apiHelper.GetCartByID(cartID); }
public async Task OneTimeSetUp() { var cartID = await SetupData(); await apiHelper.ApplyCouponTheCart(cartID, new ApplyCouponRequest { CouponID = couponID }); cart = await apiHelper.GetCartByID(cartID); }
public async Task OneTimeSetUp() { var cartID = await SetupData(); cart = await apiHelper.GetCartByID(cartID); }