Skip to content

Commit c7c4ad6

Browse files
fix static
1 parent 902e1a2 commit c7c4ad6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/code/Magento/Sales/Model/Order/Email/NotifySender.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
/**
1212
* Class NotifySender
13+
* phpcs:disable Magento2.Classes.AbstractApi
1314
* @api
1415
* @since 100.0.2
1516
*/

app/code/Magento/Sales/Test/Unit/Model/Order/Email/Sender/AbstractSenderTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ public function stepIdentityContainerInit($identityMockClassName)
192192
{
193193
$this->identityContainerMock = $this->getMockBuilder($identityMockClassName)
194194
->disableOriginalConstructor()
195-
->onlyMethods(['getStore', 'isEnabled', 'getConfigValue', 'getTemplateId', 'getGuestTemplateId', 'getCopyMethod'])
195+
->onlyMethods(
196+
['getStore', 'isEnabled', 'getConfigValue', 'getTemplateId', 'getGuestTemplateId', 'getCopyMethod']
197+
)
196198
->getMock();
197199
$this->identityContainerMock->expects($this->any())
198200
->method('getStore')

app/code/Magento/Sales/Test/Unit/Model/Order/Email/Sender/InvoiceCommentSenderTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ protected function setUp(): void
3131
$this->stepMockSetup();
3232
$this->paymentHelper = $this->createPartialMock(Data::class, ['getInfoBlockHtml']);
3333

34-
$this->invoiceResource = $this->createMock(Invoice::class);
35-
3634
$this->stepIdentityContainerInit(InvoiceCommentIdentity::class);
3735

3836
$this->addressRenderer->expects($this->any())->method('format')->willReturn(1);

0 commit comments

Comments
 (0)