Index: chrome/test/data/android/payments/dynamic_shipping.js |
diff --git a/chrome/test/data/android/payments/dynamic_shipping.js b/chrome/test/data/android/payments/dynamic_shipping.js |
index 311353151308b29091920b1aa021e501be4272ff..6ec79ca5b81524485167ce5df046451a790ec391 100644 |
--- a/chrome/test/data/android/payments/dynamic_shipping.js |
+++ b/chrome/test/data/android/payments/dynamic_shipping.js |
@@ -58,13 +58,13 @@ function buy() { // eslint-disable-line no-unused-vars |
* @return {object} The updated shopping cart. |
*/ |
function updateDetails(details, addr) { |
- if (addr.regionCode === 'US') { |
+ if (addr.country === 'US') { |
var shippingOption = { |
id: '', |
label: '', |
amount: {currency: 'USD', value: '0.00'} |
}; |
- if (addr.administrativeArea === 'CA') { |
+ if (addr.region === 'CA') { |
shippingOption.id = 'ca'; |
shippingOption.label = 'Free shipping in California'; |
details.total.amount.value = '5.00'; |