From c3cf732e5ff106391f1960bb821e19e85cd90272 Mon Sep 17 00:00:00 2001 From: rliukshyn <rliukshyn@magento.com> Date: Fri, 18 Nov 2016 21:29:04 +0200 Subject: [PATCH] MTA-3788: Add variations to place order for Braintree --- .../Checkout/Test/Constraint/AssertCheckoutErrorMessage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/tests/functional/tests/app/Magento/Checkout/Test/Constraint/AssertCheckoutErrorMessage.php b/dev/tests/functional/tests/app/Magento/Checkout/Test/Constraint/AssertCheckoutErrorMessage.php index a7b27bb33ef..24fc2419721 100644 --- a/dev/tests/functional/tests/app/Magento/Checkout/Test/Constraint/AssertCheckoutErrorMessage.php +++ b/dev/tests/functional/tests/app/Magento/Checkout/Test/Constraint/AssertCheckoutErrorMessage.php @@ -18,13 +18,13 @@ class AssertCheckoutErrorMessage extends AbstractConstraint * Assert that error message is correct. * * @param CheckoutOnepage $checkoutOnepage - * @param string $errorMessage + * @param string $expectedErrorMessage * @return void */ - public function processAssert(CheckoutOnepage $checkoutOnepage, $errorMessage) + public function processAssert(CheckoutOnepage $checkoutOnepage, $expectedErrorMessage) { \PHPUnit_Framework_Assert::assertEquals( - $errorMessage, + $expectedErrorMessage, $checkoutOnepage->getMessagesBlock()->getErrorMessage(), 'Wrong error message is displayed.' ); -- GitLab