Skip to content

Commit d6ba03c

Browse files
committed
Fixed failed test
1 parent 8712f3e commit d6ba03c

File tree

1 file changed

+11
-0
lines changed
  • dev/tests/js/jasmine/tests/app/code/Magento/Braintree/frontend/js/view/payment/method-renderer

1 file changed

+11
-0
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Braintree/frontend/js/view/payment/method-renderer/paypal.test.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,18 @@ define([
2727
})
2828
},
2929
'Magento_Braintree/js/view/payment/adapter': {
30+
config: {},
31+
/** Stub */
32+
onReady: function () {},
33+
setConfig: function (config) {
34+
this.config = config;
35+
},
36+
setup: function () {
37+
this.config.onReady(this.checkout);
38+
},
3039
checkout: {
40+
/** Stub */
41+
teardown: function () {},
3142
paypal: {
3243
/** Stub */
3344
initAuthFlow: function () {}

0 commit comments

Comments
 (0)