Skip to content

Commit 7e765a9

Browse files
committed
ACP2E-862: Cash on Delivery method is visible even if it is not allowed for that particular country
1 parent 10623f9 commit 7e765a9

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

app/code/Magento/Tax/Model/TaxConfigProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct(
5151
}
5252

5353
/**
54-
* {@inheritdoc}
54+
* @inheritdoc
5555
*/
5656
public function getConfig()
5757
{

app/code/Magento/Tax/Test/Unit/Model/TaxConfigProviderTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ public function getConfigDataProvider()
142142
'includeTaxInGrandTotal' => 1,
143143
'isFullTaxSummaryDisplayed' => 1,
144144
'isZeroTaxDisplayed' => 1,
145-
'reloadOnBillingAddress' => false,
146145
'defaultCountryId' => 'US',
147146
'defaultRegionId' => 12,
148147
'defaultPostcode' => '*',
@@ -171,7 +170,6 @@ public function getConfigDataProvider()
171170
'includeTaxInGrandTotal' => 1,
172171
'isFullTaxSummaryDisplayed' => 1,
173172
'isZeroTaxDisplayed' => 1,
174-
'reloadOnBillingAddress' => true,
175173
'defaultCountryId' => 'US',
176174
'defaultRegionId' => 12,
177175
'defaultPostcode' => '*',
@@ -200,7 +198,6 @@ public function getConfigDataProvider()
200198
'includeTaxInGrandTotal' => 1,
201199
'isFullTaxSummaryDisplayed' => 1,
202200
'isZeroTaxDisplayed' => 1,
203-
'reloadOnBillingAddress' => true,
204201
'defaultCountryId' => 'US',
205202
'defaultRegionId' => 12,
206203
'defaultPostcode' => '*',
@@ -229,7 +226,6 @@ public function getConfigDataProvider()
229226
'includeTaxInGrandTotal' => 1,
230227
'isFullTaxSummaryDisplayed' => 1,
231228
'isZeroTaxDisplayed' => 1,
232-
'reloadOnBillingAddress' => true,
233229
'defaultCountryId' => 'US',
234230
'defaultRegionId' => 12,
235231
'defaultPostcode' => '*',
@@ -258,7 +254,6 @@ public function getConfigDataProvider()
258254
'includeTaxInGrandTotal' => 1,
259255
'isFullTaxSummaryDisplayed' => 1,
260256
'isZeroTaxDisplayed' => 1,
261-
'reloadOnBillingAddress' => false,
262257
'defaultCountryId' => 'US',
263258
'defaultRegionId' => 12,
264259
'defaultPostcode' => '*',
@@ -287,7 +282,6 @@ public function getConfigDataProvider()
287282
'includeTaxInGrandTotal' => 1,
288283
'isFullTaxSummaryDisplayed' => 1,
289284
'isZeroTaxDisplayed' => 1,
290-
'reloadOnBillingAddress' => false,
291285
'defaultCountryId' => 'US',
292286
'defaultRegionId' => 12,
293287
'defaultPostcode' => '*',
@@ -316,7 +310,6 @@ public function getConfigDataProvider()
316310
'includeTaxInGrandTotal' => 1,
317311
'isFullTaxSummaryDisplayed' => 1,
318312
'isZeroTaxDisplayed' => 1,
319-
'reloadOnBillingAddress' => false,
320313
'defaultCountryId' => 'US',
321314
'defaultRegionId' => null,
322315
'defaultPostcode' => '*',

0 commit comments

Comments
 (0)