Skip to content

Commit 03d609e

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

File tree

1 file changed

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

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,6 @@ protected function setUp(): void
135135
[
136136
Config::class,
137137
$this->createMock(Config::class)
138-
],
139-
[
140-
Session::class,
141-
$this->createMock(Session::class)
142138
]
143139
];
144140
$this->objectManager->prepareObjectManager($objects);

0 commit comments

Comments
 (0)