Skip to content

Commit 5b8f33c

Browse files
author
Robert He
committed
MAGETWO-69137: upgrading Magento2 Project PHPUnit version to latest
- changed unit tests to support PHPUnit 6.2
1 parent d85ec61 commit 5b8f33c

File tree

4 files changed

+3
-87
lines changed

4 files changed

+3
-87
lines changed

app/code/Magento/CatalogUrlRewrite/Test/Unit/Model/CategoryProductUrlPathGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Class CategoryProductUrlPathGeneratorTest
1616
*/
17-
class CategoryProductUrlPathGeneratorTest extends \PHPUnit_Framework_TestCase
17+
class CategoryProductUrlPathGeneratorTest extends \PHPUnit\Framework\TestCase
1818
{
1919
/**
2020
* @var ProductScopeRewriteGenerator|\PHPUnit_Framework_MockObject_MockObject

dev/tests/integration/testsuite/Magento/SalesRule/Model/Rule/Condition/ProductTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace Magento\SalesRule\Model\Rule\Condition;
88

9-
class ProductTest extends \PHPUnit_Framework_TestCase
9+
class ProductTest extends \PHPUnit\Framework\TestCase
1010
{
1111
/**
1212
* @var \Magento\Framework\ObjectManagerInterface

dev/tests/static/framework/tests/unit/testsuite/Magento/TestFramework/Utility/FileTest.php

Lines changed: 0 additions & 84 deletions
This file was deleted.

lib/internal/Magento/Framework/Validator/Test/Unit/EmailAddressTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
use Magento\Framework\Validator\EmailAddress;
1111

12-
class EmailAddressTest extends \PHPUnit_Framework_TestCase
12+
class EmailAddressTest extends \PHPUnit\Framework\TestCase
1313
{
1414
/**
1515
* Test that the validator ignores TLD validation by default

0 commit comments

Comments
 (0)