Skip to content

Commit ad6a8ed

Browse files
committed
MC-17337: Braintree Error Code Mapping Not Working for CVV 200
- fix tests
1 parent ad56730 commit ad6a8ed

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

app/code/Magento/Braintree/Test/Unit/Gateway/Validator/GeneralResponseValidatorTest.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,13 @@ public function testValidate(array $validationSubject, bool $isValid, $messages,
6464
$result = new Result($isValid, $messages);
6565

6666
$this->resultInterfaceFactory->method('create')
67-
->with([
68-
'isValid' => $isValid,
69-
'failsDescription' => $messages,
70-
'errorCodes' => $errorCodes
71-
])
67+
->with(
68+
[
69+
'isValid' => $isValid,
70+
'failsDescription' => $messages,
71+
'errorCodes' => $errorCodes
72+
]
73+
)
7274
->willReturn($result);
7375

7476
$actual = $this->responseValidator->validate($validationSubject);

0 commit comments

Comments
 (0)