Skip to content

Commit a9c4e93

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-3037: Checkout page Validation message incorrect.
1 parent 3a78a0a commit a9c4e93

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/view/billing-address.test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,13 @@ define([
104104
expect(checkoutData.setNewCustomerBillingAddress).toHaveBeenCalledWith(lastSelectedBillingAddress);
105105
});
106106
});
107+
108+
describe('"updateAddress" method', function () {
109+
it('should call updateAddresses(true) when form is valid', function () {
110+
spyOn(billingAddress, 'updateAddresses');
111+
billingAddress.updateAddress();
112+
expect(billingAddress.updateAddresses).toHaveBeenCalledWith(true);
113+
});
114+
});
107115
});
108116
});

0 commit comments

Comments
 (0)