@@ -302,6 +302,35 @@ public function getConfigDataProvider()
302
302
Config::CONFIG_XML_PATH_DEFAULT_POSTCODE => '* ' ,
303
303
],
304
304
],
305
+ 'zeroRegionToNull ' => [
306
+ 'expectedResult ' => [
307
+ 'isDisplayShippingPriceExclTax ' => 1 ,
308
+ 'isDisplayShippingBothPrices ' => 1 ,
309
+ 'reviewShippingDisplayMode ' => 'excluding ' ,
310
+ 'reviewItemPriceDisplayMode ' => 'including ' ,
311
+ 'reviewTotalsDisplayMode ' => 'both ' ,
312
+ 'includeTaxInGrandTotal ' => 1 ,
313
+ 'isFullTaxSummaryDisplayed ' => 1 ,
314
+ 'isZeroTaxDisplayed ' => 1 ,
315
+ 'reloadOnBillingAddress ' => false ,
316
+ 'defaultCountryId ' => 'US ' ,
317
+ 'defaultRegionId ' => null ,
318
+ 'defaultPostcode ' => '* ' ,
319
+ ],
320
+ 'cartShippingBoth ' => 0 ,
321
+ 'cartShippingExclTax ' => 1 ,
322
+ 'cartBothPrices ' => 0 ,
323
+ 'cartPriceExclTax ' => 0 ,
324
+ 'cartSubTotalBoth ' => 1 ,
325
+ 'cartSubTotalExclTax ' => 0 ,
326
+ 'isQuoteVirtual ' => false ,
327
+ 'config ' => [
328
+ Config::CONFIG_XML_PATH_BASED_ON => 'shipping ' ,
329
+ Config::CONFIG_XML_PATH_DEFAULT_COUNTRY => 'US ' ,
330
+ Config::CONFIG_XML_PATH_DEFAULT_REGION => 0 ,
331
+ Config::CONFIG_XML_PATH_DEFAULT_POSTCODE => '* ' ,
332
+ ],
333
+ ],
305
334
];
306
335
}
307
336
}
0 commit comments