Skip to content

Commit b2e958c

Browse files
committed
MAGETWO-71185: [Backport][2.1.x] - Braintree online refund not working for two websites using individual Braintree accounts
- Fixed integration test
1 parent 0f6e91b commit b2e958c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/Braintree/Controller/Adminhtml/Payment/GetClientTokenTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private function perform($merchantId, $publicKey, $privateKey)
122122
];
123123

124124
$adapter = $this->getMockBuilder(BraintreeAdapter::class)
125-
->setConstructorArgs($args)
125+
->setConstructorArgs(array_merge(['config' => null], $args))
126126
->setMethods(['generate'])
127127
->getMock();
128128
$adapter->method('generate')

0 commit comments

Comments
 (0)