@@ -59,14 +59,14 @@ protected function setUp()
59
59
/**
60
60
* Assert that product price without additional price configurations will render as expected.
61
61
*
62
- * @magentoDataFixture Magento/Catalog/_files/product_simple_without_price_configurations .php
62
+ * @magentoDataFixture Magento/Catalog/_files/product_simple_tax_none .php
63
63
*
64
64
* @return void
65
65
*/
66
66
public function testCheckProductPriceWithoutAdditionalPriceConfigurations (): void
67
67
{
68
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
69
- $ this ->assertFinalPrice ($ priceHtml , 50 .00 );
68
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
69
+ $ this ->assertFinalPrice ($ priceHtml , 205 .00 );
70
70
}
71
71
72
72
/**
@@ -92,8 +92,8 @@ public function testCheckSpecialPrice(): void
92
92
*/
93
93
public function testCheckFixedTierPrice (): void
94
94
{
95
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
96
- $ this ->assertFinalPrice ($ priceHtml , 50 .00 );
95
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
96
+ $ this ->assertFinalPrice ($ priceHtml , 205 .00 );
97
97
$ this ->assertAsLowAsPrice ($ priceHtml , 40.00 );
98
98
}
99
99
@@ -106,9 +106,9 @@ public function testCheckFixedTierPrice(): void
106
106
*/
107
107
public function testCheckPercentTierPrice (): void
108
108
{
109
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
110
- $ this ->assertFinalPrice ($ priceHtml , 50 .00 );
111
- $ this ->assertAsLowAsPrice ($ priceHtml , 25.00 );
109
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
110
+ $ this ->assertFinalPrice ($ priceHtml , 205 .00 );
111
+ $ this ->assertAsLowAsPrice ($ priceHtml , 102.50 );
112
112
}
113
113
114
114
/**
@@ -120,9 +120,9 @@ public function testCheckPercentTierPrice(): void
120
120
*/
121
121
public function testCheckFixedTierPriceForNotLoggedUser (): void
122
122
{
123
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
123
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
124
124
$ this ->assertFinalPrice ($ priceHtml , 30.00 );
125
- $ this ->assertRegularPrice ($ priceHtml , 50 .00 );
125
+ $ this ->assertRegularPrice ($ priceHtml , 205 .00 );
126
126
}
127
127
128
128
/**
@@ -138,14 +138,14 @@ public function testCheckFixedTierPriceForNotLoggedUser(): void
138
138
*/
139
139
public function testCheckFixedTierPriceForLoggedUser (): void
140
140
{
141
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
142
- $ this ->assertFinalPrice ($ priceHtml , 50 .00 );
141
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
142
+ $ this ->assertFinalPrice ($ priceHtml , 205 .00 );
143
143
$ this ->assertNotRegExp ('/\$10/ ' , $ priceHtml );
144
144
$ this ->customerSession ->setCustomerId (1 );
145
145
try {
146
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
146
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
147
147
$ this ->assertFinalPrice ($ priceHtml , 10.00 );
148
- $ this ->assertRegularPrice ($ priceHtml , 50 .00 );
148
+ $ this ->assertRegularPrice ($ priceHtml , 205 .00 );
149
149
} finally {
150
150
$ this ->customerSession ->setCustomerId (null );
151
151
}
@@ -155,7 +155,7 @@ public function testCheckFixedTierPriceForLoggedUser(): void
155
155
* Assert that price of product with catalog rule with action equal to "Apply as percentage of original"
156
156
* is renders correctly.
157
157
*
158
- * @magentoDataFixture Magento/Catalog/_files/product_simple_without_price_configurations .php
158
+ * @magentoDataFixture Magento/Catalog/_files/product_simple_tax_none .php
159
159
* @magentoDataFixture Magento/CatalogRule/_files/rule_apply_as_percentage_of_original_not_logged_user.php
160
160
* @magentoDbIsolation disabled
161
161
* @magentoAppArea frontend
@@ -164,16 +164,16 @@ public function testCheckFixedTierPriceForLoggedUser(): void
164
164
*/
165
165
public function testCheckPriceRendersCorrectlyWithApplyAsPercentageOfOriginalRule (): void
166
166
{
167
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
168
- $ this ->assertFinalPrice ($ priceHtml , 45.00 );
169
- $ this ->assertRegularPrice ($ priceHtml , 50 .00 );
167
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
168
+ $ this ->assertFinalPrice ($ priceHtml , 184.50 );
169
+ $ this ->assertRegularPrice ($ priceHtml , 205 .00 );
170
170
}
171
171
172
172
/**
173
173
* Assert that price of product with catalog rule with action equal to "Apply as fixed amount"
174
174
* is renders correctly.
175
175
*
176
- * @magentoDataFixture Magento/Catalog/_files/product_simple_without_price_configurations .php
176
+ * @magentoDataFixture Magento/Catalog/_files/product_simple_tax_none .php
177
177
* @magentoDataFixture Magento/CatalogRule/_files/rule_apply_as_fixed_amount_not_logged_user.php
178
178
* @magentoDbIsolation disabled
179
179
* @magentoAppArea frontend
@@ -182,16 +182,16 @@ public function testCheckPriceRendersCorrectlyWithApplyAsPercentageOfOriginalRul
182
182
*/
183
183
public function testCheckPriceRendersCorrectlyWithApplyAsFixedAmountRule (): void
184
184
{
185
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
186
- $ this ->assertFinalPrice ($ priceHtml , 40 .00 );
187
- $ this ->assertRegularPrice ($ priceHtml , 50 .00 );
185
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
186
+ $ this ->assertFinalPrice ($ priceHtml , 195 .00 );
187
+ $ this ->assertRegularPrice ($ priceHtml , 205 .00 );
188
188
}
189
189
190
190
/**
191
191
* Assert that price of product with catalog rule with action equal to "Adjust final price to this percentage"
192
192
* is renders correctly.
193
193
*
194
- * @magentoDataFixture Magento/Catalog/_files/product_simple_without_price_configurations .php
194
+ * @magentoDataFixture Magento/Catalog/_files/product_simple_tax_none .php
195
195
* @magentoDataFixture Magento/CatalogRule/_files/rule_adjust_final_price_to_this_percentage_not_logged_user.php
196
196
* @magentoDbIsolation disabled
197
197
* @magentoAppArea frontend
@@ -200,16 +200,16 @@ public function testCheckPriceRendersCorrectlyWithApplyAsFixedAmountRule(): void
200
200
*/
201
201
public function testCheckPriceRendersCorrectlyWithAdjustFinalPriceToThisPercentageRule (): void
202
202
{
203
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
204
- $ this ->assertFinalPrice ($ priceHtml , 5.00 );
205
- $ this ->assertRegularPrice ($ priceHtml , 50 .00 );
203
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
204
+ $ this ->assertFinalPrice ($ priceHtml , 20.50 );
205
+ $ this ->assertRegularPrice ($ priceHtml , 205 .00 );
206
206
}
207
207
208
208
/**
209
209
* Assert that price of product with catalog rule with action equal to "Adjust final price to discount value"
210
210
* is renders correctly.
211
211
*
212
- * @magentoDataFixture Magento/Catalog/_files/product_simple_without_price_configurations .php
212
+ * @magentoDataFixture Magento/Catalog/_files/product_simple_tax_none .php
213
213
* @magentoDataFixture Magento/CatalogRule/_files/rule_adjust_final_price_to_discount_value_not_logged_user.php
214
214
* @magentoDbIsolation disabled
215
215
* @magentoAppArea frontend
@@ -218,9 +218,9 @@ public function testCheckPriceRendersCorrectlyWithAdjustFinalPriceToThisPercenta
218
218
*/
219
219
public function testCheckPriceRendersCorrectlyWithAdjustFinalPriceToDiscountValueRule (): void
220
220
{
221
- $ priceHtml = $ this ->getProductPriceHtml ('simple_product ' );
221
+ $ priceHtml = $ this ->getProductPriceHtml ('simple-product-tax-none ' );
222
222
$ this ->assertFinalPrice ($ priceHtml , 10.00 );
223
- $ this ->assertRegularPrice ($ priceHtml , 50 .00 );
223
+ $ this ->assertRegularPrice ($ priceHtml , 205 .00 );
224
224
}
225
225
226
226
/**
0 commit comments