Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
testIsIncludedInBasePricePriceIncludeTacEnabled ($isShippingPriceExcludeTax, $expectedResult) | |
testIsIncludedInBasePricePriceIncludeTacDisabled ($isShippingPriceExcludeTax, $expectedResult) | |
isIncludedInBasePricePriceIncludeTaxEnabledDataProvider () | |
isIncludedInBasePricePriceIncludeTaxDisabledDataProvider () | |
testIsIncludedInDisplayPriceExcludingTax () | |
testIsIncludedInDisplayPriceIncludingTax () | |
testIsIncludedInDisplayPriceBoth () | |
testIsIncludedInDisplayPriceWrongValue () | |
Definition at line 9 of file AdjustmentTest.php.
isIncludedInBasePricePriceIncludeTaxDisabledDataProvider | ( | ) |
Definition at line 66 of file AdjustmentTest.php.
isIncludedInBasePricePriceIncludeTaxEnabledDataProvider | ( | ) |
Definition at line 55 of file AdjustmentTest.php.
testIsIncludedInBasePricePriceIncludeTacDisabled | ( | $isShippingPriceExcludeTax, | |
$expectedResult | |||
) |
bool | $isShippingPriceExcludeTax | |
bool | $expectedResult | @magentoConfigFixture current_store tax/calculation/price_includes_tax 0 @dataProvider isIncludedInBasePricePriceIncludeTaxDisabledDataProvider |
Definition at line 47 of file AdjustmentTest.php.
testIsIncludedInBasePricePriceIncludeTacEnabled | ( | $isShippingPriceExcludeTax, | |
$expectedResult | |||
) |
bool | $isShippingPriceExcludeTax | |
bool | $expectedResult | @magentoConfigFixture current_store tax/calculation/price_includes_tax 1 @dataProvider isIncludedInBasePricePriceIncludeTaxEnabledDataProvider |
Definition at line 36 of file AdjustmentTest.php.
testIsIncludedInDisplayPriceBoth | ( | ) |
@magentoAppIsolation enabled @magentoConfigFixture current_store tax/display/type 3
Definition at line 114 of file AdjustmentTest.php.
testIsIncludedInDisplayPriceExcludingTax | ( | ) |
@magentoAppIsolation enabled @magentoConfigFixture current_store tax/display/type 1
Definition at line 96 of file AdjustmentTest.php.
testIsIncludedInDisplayPriceIncludingTax | ( | ) |
@magentoAppIsolation enabled @magentoConfigFixture current_store tax/display/type 2
Definition at line 105 of file AdjustmentTest.php.
testIsIncludedInDisplayPriceWrongValue | ( | ) |
@magentoAppIsolation enabled @magentoConfigFixture current_store tax/display/type 100500
Definition at line 123 of file AdjustmentTest.php.