Skip to content

Commit b95f266

Browse files
committed
ACPT-1316: Fix Sales Webapi GraphQl tests on MTS
1 parent 1a1dc6a commit b95f266

File tree

2 files changed

+3
-2
lines changed
  • app/code/Magento/Eav

2 files changed

+3
-2
lines changed

app/code/Magento/Eav/Model/Validator/Attribute/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Data extends \Magento\Framework\Validator\AbstractValidator
5555

5656
/**
5757
* @param AttributeDataFactory $attrDataFactory
58-
* @param Config $eavConfig|null
58+
* @param Config|null $eavConfig
5959
* @param array $ignoredAttributesByTypesList
6060
*/
6161
public function __construct(

app/code/Magento/Eav/Test/Unit/Model/Validator/Attribute/DataTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ public function testIsValidAttributesFromCollection(): void
225225
->getMock();
226226
$entityType->expects($this->atMost(2))->method('getEntityTypeCode')->willReturn($entityTypeCode);
227227
$entityType->expects($this->once())->method('getAttributeCollection')->willReturn($collection);
228-
$this->eavConfigMock->expects($this->once())->method('getEntityType')->with($entityTypeCode)->willReturn($entityType);
228+
$this->eavConfigMock->expects($this->once())->method('getEntityType')
229+
->with($entityTypeCode)->willReturn($entityType);
229230
$entity = $this->_getEntityMock();
230231
$entity->expects($this->once())->method('getResource')->willReturn($resource);
231232
$entity->expects($this->once())->method('getEntityType')->willReturn($entityType);

0 commit comments

Comments
 (0)