Skip to content

Commit c545681

Browse files
author
Cristian Partica
committed
MAGETWO-39052: Incorporate CR from MPI team into Braintree module
- fix for ConfigProviderTest test failure
1 parent 664fb60 commit c545681

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/code/Magento/Braintree/Test/Unit/Model/ConfigProviderTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ public function getConfigDataProvider()
251251
'US' => ['VI', 'AE', 'MA'],
252252
],
253253
'isFraudDetectionEnabled' => true,
254+
'isCcDetectionEnabled' => true,
254255
'getBraintreeDataJs' => 'https://js.braintreegateway.com/v1/braintree-data.js'
255256
],
256257
'vault_data' => [],
@@ -270,6 +271,7 @@ public function getConfigDataProvider()
270271
'US' => ['VI', 'AE', 'MA'],
271272
],
272273
'isFraudDetectionEnabled' => true,
274+
'isCcDetectionEnabled' => true,
273275
'availableCardTypes' => $this->availableCardTypes,
274276
'braintreeDataJs'=> 'https://js.braintreegateway.com/v1/braintree-data.js',
275277
'ajaxGenerateNonceUrl' => self::PAYMENT_NONCE_GENERATION_URL,
@@ -287,6 +289,7 @@ public function getConfigDataProvider()
287289
'US' => ['VI', 'AE', 'MA'],
288290
],
289291
'isFraudDetectionEnabled' => true,
292+
'isCcDetectionEnabled' => true,
290293
'getBraintreeDataJs' => 'https://js.braintreegateway.com/v1/braintree-data.js'
291294
],
292295
'vault_data' => [
@@ -343,6 +346,7 @@ public function getConfigDataProvider()
343346
'US' => ['VI', 'AE', 'MA'],
344347
],
345348
'isFraudDetectionEnabled' => true,
349+
'isCcDetectionEnabled' => true,
346350
'availableCardTypes' => $this->availableCardTypes,
347351
'braintreeDataJs'=> 'https://js.braintreegateway.com/v1/braintree-data.js',
348352
'ajaxGenerateNonceUrl' => self::PAYMENT_NONCE_GENERATION_URL,
@@ -360,6 +364,7 @@ public function getConfigDataProvider()
360364
'US' => ['VI', 'AE', 'MA'],
361365
],
362366
'isFraudDetectionEnabled' => true,
367+
'isCcDetectionEnabled' => true,
363368
'getBraintreeDataJs' => 'https://js.braintreegateway.com/v1/braintree-data.js'
364369
],
365370
'vault_data' => [
@@ -416,6 +421,7 @@ public function getConfigDataProvider()
416421
'US' => ['VI', 'AE', 'MA'],
417422
],
418423
'isFraudDetectionEnabled' => true,
424+
'isCcDetectionEnabled' => true,
419425
'availableCardTypes' => $this->availableCardTypes,
420426
'braintreeDataJs'=> 'https://js.braintreegateway.com/v1/braintree-data.js',
421427
'ajaxGenerateNonceUrl' => self::PAYMENT_NONCE_GENERATION_URL,
@@ -433,6 +439,7 @@ public function getConfigDataProvider()
433439
'US' => ['VI', 'AE', 'MA'],
434440
],
435441
'isFraudDetectionEnabled' => true,
442+
'isCcDetectionEnabled' => true,
436443
'getBraintreeDataJs' => 'https://js.braintreegateway.com/v1/braintree-data.js'
437444
],
438445
'vault_data' => [
@@ -458,6 +465,7 @@ public function getConfigDataProvider()
458465
'US' => ['VI', 'AE', 'MA'],
459466
],
460467
'isFraudDetectionEnabled' => true,
468+
'isCcDetectionEnabled' => true,
461469
'availableCardTypes' => $this->availableCardTypes,
462470
'braintreeDataJs'=> 'https://js.braintreegateway.com/v1/braintree-data.js',
463471
'ajaxGenerateNonceUrl' => self::PAYMENT_NONCE_GENERATION_URL,

0 commit comments

Comments
 (0)