Skip to content

Commit 93bc15b

Browse files
author
Serhiy Shkolyarenko
committed
MAGETWO-40822: [PHP7] Incompatible tests
uncommented tests
1 parent 26a1107 commit 93bc15b

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

dev/tests/api-functional/testsuite/Magento/Bundle/Api/ProductOptionRepositoryTest.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,6 @@ public function testAdd()
147147
*/
148148
public function testUpdate()
149149
{
150-
/** TODO: Remove after MAGETWO-40822 */
151-
$isPhpVersionSupported = version_compare(
152-
'7.0.0',
153-
preg_replace('#^([^~+-]+).*$#', '$1', PHP_VERSION),
154-
'>'
155-
);
156-
if (!$isPhpVersionSupported) {
157-
$this->markTestSkipped('MAGETWO-40822');
158-
}
159-
160150
$productSku = 'bundle-product';
161151
$request = [
162152
'title' => 'someTitle',

dev/tests/integration/testsuite/Magento/Sitemap/Helper/DataTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ class DataTest extends \PHPUnit_Framework_TestCase
1414

1515
protected function setUp()
1616
{
17-
// TODO: Remove provided check after PHPMD will support PHP version 7
18-
$isSupported = version_compare(
19-
'7.0.0',
20-
preg_replace('#^([^~+-]+).*$#', '$1', PHP_VERSION),
21-
'>'
22-
);
23-
if (!$isSupported) {
24-
$this->markTestSkipped('MAGETWO-40822: PHP7 incompatible');
25-
}
2617
$this->_helper = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(
2718
'Magento\Sitemap\Helper\Data'
2819
);

0 commit comments

Comments
 (0)