Skip to content

Commit f2f9457

Browse files
committed
AC-3178::fixed static test case fai
1 parent 6bf73b6 commit f2f9457

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ public function isPartiallyRefundedOrderShipped(): bool
854854
}
855855

856856
/**
857-
* get all refunded items number
857+
* Get all refunded items number
858858
*
859859
* @return int
860860
*/
@@ -870,7 +870,7 @@ private function getRefundedItems(): int
870870
}
871871

872872
/**
873-
* get all shipped items number
873+
* Get all shipped items number
874874
*
875875
* @return int
876876
*/

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ protected function setUp(): void
6868
* @param bool $isCanceled
6969
* @param bool $canUnhold
7070
* @param bool $isNotVirtual
71-
* @param bool $isPartiallyRefundedOrderShipped
7271
* @dataProvider stateCheckDataProvider
7372
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
7473
*/
@@ -83,8 +82,7 @@ public function testCheck(
8382
int $callGetIsInProcessNum,
8483
bool $isCanceled,
8584
bool $canUnhold,
86-
bool $isNotVirtual,
87-
bool $isPartiallyRefundedOrderShipped
85+
bool $isNotVirtual
8886
) {
8987
$this->orderMock->setState($currentState);
9088
$this->orderMock->expects($this->any())

0 commit comments

Comments
 (0)