9
9
use Magento \Catalog \Model \Product \Type \AbstractType ;
10
10
11
11
/**
12
- * @magentoDbIsolation enabled
13
- * @magentoDataFixture Magento/ConfigurableProduct/_files/tax_rule.php
12
+ * Class PriceTest
14
13
*/
15
14
class PriceTest extends \PHPUnit_Framework_TestCase
16
15
{
@@ -30,6 +29,7 @@ protected function setUp()
30
29
31
30
/**
32
31
* @magentoDbIsolation enabled
32
+ * @magentoDataFixture Magento/ConfigurableProduct/_files/tax_rule.php
33
33
* @magentoDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
34
34
*/
35
35
public function testGetFinalPrice ()
@@ -40,6 +40,7 @@ public function testGetFinalPrice()
40
40
/**
41
41
* @magentoConfigFixture current_store tax/display/type 1
42
42
* @magentoDbIsolation enabled
43
+ * @magentoDataFixture Magento/ConfigurableProduct/_files/tax_rule.php
43
44
* @magentoDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
44
45
*/
45
46
public function testGetFinalPriceExcludingTax ()
@@ -50,6 +51,7 @@ public function testGetFinalPriceExcludingTax()
50
51
/**
51
52
* @magentoConfigFixture current_store tax/display/type 2
52
53
* @magentoDbIsolation enabled
54
+ * @magentoDataFixture Magento/ConfigurableProduct/_files/tax_rule.php
53
55
* @magentoDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
54
56
*/
55
57
public function testGetFinalPriceIncludingTax ()
@@ -61,6 +63,7 @@ public function testGetFinalPriceIncludingTax()
61
63
/**
62
64
* @magentoConfigFixture current_store tax/display/type 3
63
65
* @magentoDbIsolation enabled
66
+ * @magentoDataFixture Magento/ConfigurableProduct/_files/tax_rule.php
64
67
* @magentoDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
65
68
*/
66
69
public function testGetFinalPriceIncludingExcludingTax ()
@@ -71,6 +74,7 @@ public function testGetFinalPriceIncludingExcludingTax()
71
74
72
75
/**
73
76
* @magentoDbIsolation enabled
77
+ * @magentoDataFixture Magento/ConfigurableProduct/_files/tax_rule.php
74
78
* @magentoDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
75
79
*/
76
80
public function testGetFinalPriceWithSelectedSimpleProduct ()
@@ -82,6 +86,7 @@ public function testGetFinalPriceWithSelectedSimpleProduct()
82
86
83
87
/**
84
88
* @magentoDbIsolation enabled
89
+ * @magentoDataFixture Magento/ConfigurableProduct/_files/tax_rule.php
85
90
* @magentoDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
86
91
*/
87
92
public function testGetFinalPriceWithCustomOption ()
0 commit comments