We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53fc9b8 commit ab33715Copy full SHA for ab33715
app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/EavTest.php
@@ -522,14 +522,14 @@ public function testSetupAttributeMetaDefaultAttribute(
522
)
523
->willReturn($expected);
524
525
- $this->arrayManagerMock->expects($this->once())
+ $this->arrayManagerMock->expects($this->any())
526
->method('merge')
527
->with(
528
$this->anything(),
529
530
$this->callback(
531
function ($value) use ($attributeOptionsExpected) {
532
- return $value['options'] === $attributeOptionsExpected;
+ return isset($value['options']) ? $value['options'] === $attributeOptionsExpected : true;
533
}
534
535
0 commit comments