Skip to content

Commit 47d32a2

Browse files
MC-36533: Orders with Zero Sum Payment Method are Closed automatically
1 parent 4f90cf5 commit 47d32a2

File tree

1 file changed

+3
-4
lines changed
  • app/code/Magento/Sales/Test/Unit/Model/ResourceModel/Order/Handler

1 file changed

+3
-4
lines changed

app/code/Magento/Sales/Test/Unit/Model/ResourceModel/Order/Handler/StateTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ protected function setUp(): void
5050
$this->orderMock->expects($this->any())
5151
->method('getConfig')
5252
->willReturnSelf();
53-
$this->addressMock = $this->createMock(Address::class);
54-
$this->addressCollectionMock = $this->createMock(
55-
Collection::class
56-
);
5753
$this->state = new State();
5854
}
5955

@@ -111,6 +107,9 @@ public function testCheck(
111107
}
112108

113109
/**
110+
* Data provider for testCheck
111+
*
112+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
114113
* @return array
115114
*/
116115
public function stateCheckDataProvider()

0 commit comments

Comments
 (0)