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 aabed9c commit 0b36079Copy full SHA for 0b36079
app/code/Magento/Eav/Test/Unit/Model/AttributeRepositoryTest.php
@@ -124,8 +124,13 @@ public function testGetList()
124
$collectionSize = 1;
125
126
$searchCriteriaMock = $this->getMockBuilder(SearchCriteriaInterface::class)
127
+ ->setMethods(['getPageSize'])
128
->getMockForAbstractClass();
129
130
+ $searchCriteriaMock->expects($this->any())
131
+ ->method('getPageSize')
132
+ ->willReturn($collectionSize);
133
+
134
$attributeMock = $this->createAttributeMock($attributeCode, $attributeId);
135
136
$attributeCollectionMock = $this->getMockBuilder(Collection::class)
0 commit comments