Skip to content

Commit 54eda20

Browse files
author
Dmytro Aponasenko
committed
MTA-1602: Sync qmt repository with mainline - Sprint 6
1 parent 3d7d879 commit 54eda20

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Category/ProductPagination.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,24 @@
77
namespace Magento\Catalog\Test\Block\Category;
88

99
use Magento\Mtf\Block\Block;
10+
use Magento\Mtf\Client\ElementInterface;
1011

1112
/**
12-
* Class ProductPagination
13-
* Pagination page product list
14-
*
15-
* @package Magento\Catalog\Test\Block\Category
13+
* Pagination page product list.
1614
*/
1715
class ProductPagination extends Block
1816
{
1917
/**
20-
* Selector next active element
18+
* Selector next active element.
2119
*
2220
* @var string
2321
*/
2422
protected $nextPageSelector = '.item.current + .item a';
2523

2624
/**
27-
* Getting the active element to go to the next page
25+
* Getting the active element to go to the next page.
2826
*
29-
* @return \Magento\Mtf\Client\ElementInterface|null
27+
* @return ElementInterface|null
3028
*/
3129
public function getNextPage()
3230
{

dev/tests/functional/tests/app/Magento/Sales/Test/Block/Adminhtml/Order/View/Items.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ public function getPrice(InjectableFixture $product)
7878
$valueKey = $checkoutOption['value'];
7979
$attributeName = $attributesData[$titleKey]['frontend_label'];
8080
$optionLabel = $attributesData[$titleKey]['options'][$valueKey]['label'];
81-
$optionsDetails[] = "{$attributeName} {$optionLabel}";
81+
$optionsDetails[] = "{$attributeName}{$optionLabel}";
8282
$matrixKey[] = "{$titleKey}:{$valueKey}";
8383

8484
$optionsPrice += $attributesData[$titleKey]['options'][$valueKey]['pricing_value'];
8585
}
8686
$optionsDetails = implode(' ', $optionsDetails);
8787
$matrixKey = implode(' ', $matrixKey);
8888

89-
$productDisplay = $productName . ' SKU: ' . $matrix[$matrixKey]['sku'] . ' ' . $optionsDetails;
89+
$productDisplay = $productName . 'SKU: ' . $matrix[$matrixKey]['sku'] . $optionsDetails;
9090
} else {
9191
$productDisplay = $productName . 'SKU: ' . $product->getSku();
9292
}

0 commit comments

Comments
 (0)