Skip to content

Commit 13b662f

Browse files
committed
MQE-849: Upgrading MTF PHP version to 7.2
- fix tests
1 parent fb96246 commit 13b662f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Constraint/AssertProductGridIsRendered.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function processAssert(
2121
\Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex $catalogProductIndex
2222
) {
2323
$productId = $catalogProductIndex->open()->getProductGrid()->getFirstItemId();
24-
\PHPUnit_Framework_Assert::assertNotNull(
24+
\PHPUnit\Framework\Assert::assertNotNull(
2525
$productId,
2626
'Product grid is not rendered correctly.'
2727
);

dev/tests/functional/tests/app/Magento/Catalog/Test/Constraint/AssertResetFilterMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AssertResetFilterMessage extends \Magento\Mtf\Constraint\AbstractConstrain
2020
public function processAssert(
2121
\Magento\Catalog\Test\Page\Adminhtml\CatalogProductIndex $catalogProductIndex
2222
) {
23-
\PHPUnit_Framework_Assert::assertContains(
23+
\PHPUnit\Framework\Assert::assertContains(
2424
'restored the filter to its original state',
2525
$catalogProductIndex->getMessagesBlock()->getErrorMessage(),
2626
"Can't find proper message"

0 commit comments

Comments
 (0)