Skip to content

Commit c3cf732

Browse files
committed
MTA-3788: Add variations to place order for Braintree
1 parent 370d7bd commit c3cf732

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/tests/functional/tests/app/Magento/Checkout/Test/Constraint/AssertCheckoutErrorMessage.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ class AssertCheckoutErrorMessage extends AbstractConstraint
1818
* Assert that error message is correct.
1919
*
2020
* @param CheckoutOnepage $checkoutOnepage
21-
* @param string $errorMessage
21+
* @param string $expectedErrorMessage
2222
* @return void
2323
*/
24-
public function processAssert(CheckoutOnepage $checkoutOnepage, $errorMessage)
24+
public function processAssert(CheckoutOnepage $checkoutOnepage, $expectedErrorMessage)
2525
{
2626
\PHPUnit_Framework_Assert::assertEquals(
27-
$errorMessage,
27+
$expectedErrorMessage,
2828
$checkoutOnepage->getMessagesBlock()->getErrorMessage(),
2929
'Wrong error message is displayed.'
3030
);

0 commit comments

Comments
 (0)