File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11
11
*/
12
12
class Reorder extends \Magento \Framework \App \Helper \AbstractHelper
13
13
{
14
- const XML_PATH_SALES_REORDER_ALLOW = 'sales/reorder/allow ' ;
14
+ public const XML_PATH_SALES_REORDER_ALLOW = 'sales/reorder/allow ' ;
15
15
16
16
/**
17
17
* @var \Magento\Sales\Api\OrderRepositoryInterface
@@ -33,6 +33,8 @@ public function __construct(
33
33
}
34
34
35
35
/**
36
+ * Check if reorder is allowed
37
+ *
36
38
* @return bool
37
39
*/
38
40
public function isAllow ()
Original file line number Diff line number Diff line change @@ -156,7 +156,6 @@ public function testCanReorder($orderCanReorder)
156
156
{
157
157
$ this ->setupOrderMock (true );
158
158
159
-
160
159
$ this ->orderMock ->expects ($ this ->once ())
161
160
->method ('canReorder ' )
162
161
->willReturn ($ orderCanReorder );
You can’t perform that action at this time.
0 commit comments