Skip to content

Commit 8843f85

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 8df8ed4 commit 8843f85

File tree

3 files changed

+4
-57
lines changed

3 files changed

+4
-57
lines changed

dev/tests/integration/testsuite/Magento/Framework/Data/Argument/Interpreter/StringUtilsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class StringUtilsTest extends \PHPUnit\Framework\TestCase
2929
*/
3030
protected function setUp()
3131
{
32-
$this->_booleanUtils = $this->createMock(\Magento\Framework\Stdlib\BooleanUtils::class);
33-
$this->_booleanUtils->expects(
32+
$this->booleanUtils = $this->createMock(\Magento\Framework\Stdlib\BooleanUtils::class);
33+
$this->booleanUtils->expects(
3434
$this->any()
3535
)->method(
3636
'toBoolean'

lib/internal/Magento/Framework/Config/Test/Unit/Converter/Dom/DiFlatTest.php

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

lib/internal/Magento/Framework/EntityManager/EntityManager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
*
2323
* For filtering operations, it's recommended to use successor of
2424
* Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class.
25+
*
26+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2527
*/
2628
class EntityManager
2729
{

0 commit comments

Comments
 (0)