You are here

23 calls to CommerceDiscountTestBase::createDiscount() in Commerce Discount 7

CommerceDiscountConditionsTest::testCommerceProductContainsProducts in tests/commerce_discount_conditions.test
Test commerce_product_contains_products() condition.
CommerceDiscountConditionsTest::testOrderContainsProductsCondition in tests/commerce_discount_conditions.test
Tests the 'commerce_order_contains_products' rule.
CommerceDiscountShippingTest::testCommerceDiscountShippingAndFixedAmount in tests/commerce_discount_shipping.test
Test a free shipping discount combined with a fixed amount discount.
CommerceDiscountShippingTest::testCommerceDiscountShippingDiscounts in tests/commerce_discount_shipping.test
Test shipping discounts.
CommerceDiscountTest::testCartWithDiscountsDeleted in tests/commerce_discount.test
Test discount deletion.
CommerceDiscountTest::testCommerceDiscountCompatibilityStrategies in tests/commerce_discount.test
Test discount compatibility strategies.
CommerceDiscountTest::testCommerceDiscountCompatibilityStrategiesRefresh in tests/commerce_discount.test
Test discount compatibility regression https://www.drupal.org/node/2621526.
CommerceDiscountTest::testCommerceDiscountCompatibilityStrategiesRefreshNone in tests/commerce_discount.test
Test discount compatibility regression https://www.drupal.org/node/2621526.
CommerceDiscountTest::testCommerceDiscountDiscountedProductPriceDisplay in tests/commerce_discount.test
Test discounted product price display.
CommerceDiscountTest::testCommerceDiscountFixedOrderDiscount in tests/commerce_discount.test
Test fixed order discounts.
CommerceDiscountTest::testCommerceDiscountFixedProductDiscount in tests/commerce_discount.test
Test fixed product discounts.
CommerceDiscountTest::testCommerceDiscountFreeProductsOrderDiscount in tests/commerce_discount.test
Test free bonus products order discounts.
CommerceDiscountTest::testCommerceDiscountMultipleFixedOrderDiscounts in tests/commerce_discount.test
Test multiple fixed order discounts.
CommerceDiscountTest::testCommerceDiscountOneHundredPercentOff in tests/commerce_discount.test
Test a 100% off product percentage discount.
CommerceDiscountTest::testCommerceDiscountOrderRefreshWrapper in tests/commerce_discount.test
Test order wrapper cache from order refresh.
CommerceDiscountTest::testCommerceDiscountPercentageOrderDiscount in tests/commerce_discount.test
Test percentage order discounts.
CommerceDiscountTest::testCommerceDiscountPercentageProductDiscount in tests/commerce_discount.test
Test percentage product discounts.
CommerceDiscountTest::testCommerceProductPercentageDiscountRounding in tests/commerce_discount.test
Test rounding in percentage based product discounts.
CommerceDiscountTestBase::createDateDiscount in tests/commerce_discount_base.test
Create a date discount.
CommerceDiscountTestBase::createUsageDiscount in tests/commerce_discount_base.test
Create a discount.
CommerceDiscountUITest::testCommerceDiscountUIDeleteDiscount in tests/commerce_discount_ui.test
Test the delete discount UI.
CommerceDiscountUITest::testCommerceDiscountUIDisabledLineItemTypes in tests/commerce_discount_ui.test
Test disabled line item types.
CommerceDiscountUITest::testCommerceDiscountUIEditDiscount in tests/commerce_discount_ui.test
Test the Edit discount UI.