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 1111 */
1212class 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 ()
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments