Skip to content

Commit ab33715

Browse files
author
Joan He
committed
Merge remote-tracking branch 'upstream/2.3-develop' into MAGETWO-91529
# Conflicts: # app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/EavTest.php
1 parent 53fc9b8 commit ab33715

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/EavTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,14 +522,14 @@ public function testSetupAttributeMetaDefaultAttribute(
522522
)
523523
->willReturn($expected);
524524

525-
$this->arrayManagerMock->expects($this->once())
525+
$this->arrayManagerMock->expects($this->any())
526526
->method('merge')
527527
->with(
528528
$this->anything(),
529529
$this->anything(),
530530
$this->callback(
531531
function ($value) use ($attributeOptionsExpected) {
532-
return $value['options'] === $attributeOptionsExpected;
532+
return isset($value['options']) ? $value['options'] === $attributeOptionsExpected : true;
533533
}
534534
)
535535
)

0 commit comments

Comments
 (0)