We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d9307 commit 94a1c27Copy full SHA for 94a1c27
app/code/Magento/PageBuilder/Test/Unit/Model/Catalog/SortingTest.php
@@ -163,7 +163,7 @@ private function createOptionMocks(array $optionMocksConfiguration): array
163
*/
164
private function createOptionMock(string $label): MockObject
165
{
166
- $mock = $this->createMock(OptionInterface::class);
+ $mock = $this->getMockForAbstractClass(OptionInterface::class);
167
$mock->method('getLabel')
168
->willReturn(__($label));
169
0 commit comments