Skip to content

Commit f9e1e26

Browse files
ShradddhaShradddha
authored andcommitted
AC-10621::PHPUnit 10 upgrade error: ‘RuntimeException: ObjectManager isn't initialized’
1 parent db9c6d6 commit f9e1e26

File tree

1 file changed

+0
-3
lines changed
  • app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category

1 file changed

+0
-3
lines changed

app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/EditTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Magento\Framework\Controller\Result\JsonFactory;
1818
use Magento\Framework\Event\ManagerInterface;
1919
use Magento\Framework\ObjectManagerInterface;
20-
use Magento\Framework\Registry;
2120
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
2221
use Magento\Framework\View\LayoutFactory;
2322
use Magento\Framework\View\Page\Title;
@@ -26,8 +25,6 @@
2625
use Magento\Store\Model\StoreManagerInterface;
2726
use PHPUnit\Framework\MockObject\MockObject;
2827
use PHPUnit\Framework\TestCase;
29-
use Magento\Framework\Stdlib\DateTime\Filter\Date;
30-
use Magento\Cms\Model\Wysiwyg\Config;
3128

3229
/**
3330
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)

0 commit comments

Comments
 (0)