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 f5a0d75 commit 9a479aeCopy full SHA for 9a479ae
app/code/Magento/SalesGraphQl/Test/Unit/Model/Resolver/ReorderTest.php
@@ -73,10 +73,7 @@ public function testResolve(): void
73
$args = ['orderNumber' => '00000010'];
74
$value = [];
75
76
- $this->extensionAttributesMock = $this->getMockBuilder(ContextExtension::class)
77
- ->onlyMethods(['getIsCustomer', 'getStore'])
78
- ->disableOriginalConstructor()
79
- ->getMock();
+ $this->extensionAttributesMock = $this->createMock(ContextExtension::class);
80
$this->extensionAttributesMock->expects($this->once())
81
->method('getIsCustomer')
82
->willReturn(true);
0 commit comments