Skip to content

Commit 92fb92a

Browse files
author
Hwashiang Yu
committed
MC-19456: Failing Unit Test: paypal/js/view/payment/method-renderer/paypal-express-abstract check smart button initialization.express-checkout-smart-buttons is initialized
- Updated quote data key name due to inconsistency. - Added jscs ignore for camelcase key value since the that is how the value is store in codebase.
1 parent 0714971 commit 92fb92a

File tree

1 file changed

+2
-1
lines changed
  • dev/tests/js/jasmine/tests/app/code/Magento/Paypal/frontend/js/view/payment/method-renderer/in-context

1 file changed

+2
-1
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Paypal/frontend/js/view/payment/method-renderer/in-context/checkout-express.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ define([
3535
beforeAll(function (done) {
3636
window.checkoutConfig = {
3737
quoteData: {
38-
entityId: 1
38+
/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
39+
entity_Id: 1
3940
},
4041
formKey: 'formKey'
4142
};

0 commit comments

Comments
 (0)