Skip to content

Commit 206059f

Browse files
author
Joan He
committed
MAGETWO-91529: Restricted admin user can remove product from other websites
- Fix unit test failures
1 parent 507051b commit 206059f

File tree

1 file changed

+8
-0
lines changed
  • app/code/Magento/ConfigurableProduct/Test/Unit/Ui/DataProvider/Product/Form/Modifier

1 file changed

+8
-0
lines changed

app/code/Magento/ConfigurableProduct/Test/Unit/Ui/DataProvider/Product/Form/Modifier/CustomOptionsTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010

1111
class CustomOptionsTest extends AbstractModifierTest
1212
{
13+
protected function setUp()
14+
{
15+
parent::setUp();
16+
$this->arrayManagerMock->expects($this->any())
17+
->method('merge')
18+
->willReturnArgument(1);
19+
}
20+
1321
/**
1422
* {@inheritdoc}
1523
*/

0 commit comments

Comments
 (0)