Skip to content

Commit 23c59e7

Browse files
author
Dmytro Aponasenko
committed
MTA-2431: Deliver Unicorns Sprint 26 results
1 parent 187dc00 commit 23c59e7

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

dev/tests/functional/lib/Magento/Mtf/Util/Generate/Fixture/SchemaXml.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ protected function getHelp()
165165
--type\t\t<flat>|<eav>|<table>|<composite>\t\tTable type for the entity\tDefault: flat
166166
--name\t\t<className>\t\t\t\t\tName of generated class
167167
--entity_type\t<entity_type>|<entity_type1,entity_type2>\tDatabase table name where entity data is stored
168-
--collection\t<path\\\\to\\\\collection>\t\t\t\tCollection to generate data sets\tNOTE: All backslashes have to be escaped
168+
--collection\t<path\\\\to\\\\collection>\t\t\t\tCollection to generate data sets\tNOTE: All backslashes must be escaped
169169
--help\t\tThis help
170170
171171
name, entity_type, collection - required fields

dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Cart/CartItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class CartItem extends AbstractCartItem
2626
*
2727
* @var string
2828
*/
29-
protected $removeItem = '.action.delete';
29+
protected $removeItem = '.action-delete';
3030

3131
/**
3232
* Get bundle options

dev/tests/functional/tests/app/Magento/Customer/Test/Constraint/AssertCustomerForgotPasswordSuccessMessage.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
*/
1616
class AssertCustomerForgotPasswordSuccessMessage extends AbstractConstraint
1717
{
18-
const SUCCESS_MESSAGE_FIRST_PART = 'If there is an account associated with %s';
19-
const SUCCESS_MESSAGE_SECOND_PART = ' you will receive an email with a link to reset your password.';
18+
const SUCCESS_MESSAGE = "We'll email you a link to reset your password.";
2019

2120
/**
2221
* Assert that customer forgot password message is present on customer account forgot password page.
@@ -30,7 +29,7 @@ public function processAssert(
3029
Customer $customer
3130
) {
3231
$message = sprintf(
33-
self::SUCCESS_MESSAGE_FIRST_PART . self::SUCCESS_MESSAGE_SECOND_PART,
32+
self::SUCCESS_MESSAGE,
3433
$customer->getEmail()
3534
);
3635

dev/tests/functional/tests/app/Magento/Sales/Test/TestCase/MoveProductsInComparedOnOrderPageTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
*
3333
* @group Order_Management_(CS)
3434
* @ZephyrId MAGETWO-28050
35+
*
36+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
3537
*/
3638
class MoveProductsInComparedOnOrderPageTest extends Injectable
3739
{

dev/tests/functional/tests/app/Magento/Sales/Test/TestCase/MoveRecentlyComparedProductsOnOrderPageTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
*
3434
* @group Order_Management_(CS)
3535
* @ZephyrId MAGETWO-28109
36+
*
37+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
3638
*/
3739
class MoveRecentlyComparedProductsOnOrderPageTest extends Injectable
3840
{

dev/tests/functional/tests/app/Magento/Sales/Test/TestCase/MoveShoppingCartProductsOnOrderPageTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
*
3232
* @group Order_Management_(CS)
3333
* @ZephyrId MAGETWO-28540
34+
*
35+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
3436
*/
3537
class MoveShoppingCartProductsOnOrderPageTest extends Injectable
3638
{

0 commit comments

Comments
 (0)