File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 17
17
use Magento \Framework \EntityManager \MetadataPool ;
18
18
use Magento \Store \Model \Store ;
19
19
use Magento \Store \Model \StoreManagerInterface ;
20
- use Magento \TestFramework \ObjectManager ;
21
20
use Magento \TestFramework \Helper \Bootstrap ;
21
+ use Magento \TestFramework \ObjectManager ;
22
22
use Magento \TestFramework \TestCase \GraphQl \ResponseContainsErrorsException ;
23
23
use Magento \TestFramework \TestCase \GraphQlAbstract ;
24
24
25
25
/**
26
26
* Test loading of category tree
27
+ *
28
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
27
29
*/
28
30
class CategoryTest extends GraphQlAbstract
29
31
{
@@ -49,7 +51,7 @@ class CategoryTest extends GraphQlAbstract
49
51
50
52
protected function setUp (): void
51
53
{
52
- $ this ->objectManager = \ Magento \ TestFramework \ Helper \ Bootstrap::getObjectManager ();
54
+ $ this ->objectManager = Bootstrap::getObjectManager ();
53
55
$ this ->categoryRepository = $ this ->objectManager ->get (CategoryRepository::class);
54
56
$ this ->store = $ this ->objectManager ->get (Store::class);
55
57
$ this ->metadataPool = $ this ->objectManager ->get (MetadataPool::class);
You can’t perform that action at this time.
0 commit comments