Skip to content

Commit ce07d35

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

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/code/Magento/CatalogUrlRewrite/Test/Unit/Observer/UrlRewriteHandlerTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,6 @@ public function testGenerateProductUrlRewrites()
167167
[$this->equalTo('save_rewrites_history')] => true,
168168
[$this->equalTo('initial_setup_flag')] => null
169169
});
170-
// ->withConsecutive(
171-
// [$this->equalTo('save_rewrites_history')],
172-
// [$this->equalTo('initial_setup_flag')]
173-
// )
174-
// ->willReturnOnConsecutiveCalls(
175-
// true,
176-
// null
177-
// );
178170

179171
/* @var \Magento\Catalog\Model\Category|MockObject $childCategory1 */
180172
$childCategory1 = $this->getMockBuilder(Category::class)

0 commit comments

Comments
 (0)