Skip to content

Commit 7ea4c6c

Browse files
author
Yauhen_Lyskavets
committed
MC-16455: Admin user with permission for 1 store can manage categories
- Fix unit tests failures.
1 parent bf8d430 commit 7ea4c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Category/DataProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public function testGetMetaWithoutParentInheritanceResolving()
354354
$categoryMock = $this->getMockBuilder(\Magento\Catalog\Model\Category::class)
355355
->disableOriginalConstructor()
356356
->getMock();
357-
$this->registry->expects($this->once())
357+
$this->registry->expects($this->atLeastOnce())
358358
->method('registry')
359359
->with('category')
360360
->willReturn($categoryMock);

0 commit comments

Comments
 (0)