Skip to content

Commit e9339ca

Browse files
committed
Update the getField in the testGetList to be called twice
1 parent 2a3ac2d commit e9339ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Test/Unit/Model/AttributeSetRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function testGetList()
217217
$filterMock = $this->getMock('\Magento\Framework\Api\Filter', [], [], '', false);
218218
$filterGroupMock->expects($this->exactly(2))->method('getFilters')->willReturn([$filterMock]);
219219

220-
$filterMock->expects($this->once())->method('getField')->willReturn('entity_type_code');
220+
$filterMock->expects($this->exactly(2))->method('getField')->willReturn('entity_type_code');
221221
$filterMock->expects($this->once())->method('getValue')->willReturn($entityTypeCode);
222222

223223
$collectionMock = $this->getMock(

0 commit comments

Comments
 (0)