Skip to content

Commit bb21712

Browse files
committed
Static tests fixes
1 parent f53e510 commit bb21712

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Sales/Helper/Reorder.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
class Reorder extends \Magento\Framework\App\Helper\AbstractHelper
1313
{
14-
const XML_PATH_SALES_REORDER_ALLOW = 'sales/reorder/allow';
14+
public const XML_PATH_SALES_REORDER_ALLOW = 'sales/reorder/allow';
1515

1616
/**
1717
* @var \Magento\Sales\Api\OrderRepositoryInterface
@@ -33,6 +33,8 @@ public function __construct(
3333
}
3434

3535
/**
36+
* Check if reorder is allowed
37+
*
3638
* @return bool
3739
*/
3840
public function isAllow()

app/code/Magento/Sales/Test/Unit/Helper/ReorderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ public function testCanReorder($orderCanReorder)
156156
{
157157
$this->setupOrderMock(true);
158158

159-
160159
$this->orderMock->expects($this->once())
161160
->method('canReorder')
162161
->willReturn($orderCanReorder);

0 commit comments

Comments
 (0)