Skip to content

Commit 05b1512

Browse files
author
gwharton
committed
Attempt to fix codacy issue
1 parent c0b9e8f commit 05b1512

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

dev/tests/integration/testsuite/Magento/Framework/Config/ConverterTest.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,11 @@
66

77
namespace Magento\Framework\Config;
88

9-
use Magento\Framework\ObjectManagerInterface;
10-
119
/**
1210
* Tests Magento\Framework\Config\Convert
1311
*/
1412
class ConverterTest extends \PHPUnit\Framework\TestCase
1513
{
16-
/**
17-
* @var ObjectManagerInterface
18-
*/
19-
private $objectManager;
20-
2114
/**
2215
* @var Converter
2316
*/
@@ -87,7 +80,6 @@ public function parseVarElementDataProvider()
8780
*/
8881
protected function setUp()
8982
{
90-
$this->objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
91-
$this->converter = $this->objectManager->get(Converter::class);
83+
$this->converter = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Framework\Config\Converter::class);
9284
}
9385
}

0 commit comments

Comments
 (0)