Skip to content

Commit 5f7f58f

Browse files
Merge remote-tracking branch 'origin/MAGETWO-70059' into MPI-PR-705
2 parents b33e775 + da9bc52 commit 5f7f58f

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/Sales
    • Block/Adminhtml/Order/Status/Assign
    • Test/Unit/Block/Adminhtml/Order/Status/Assign

2 files changed

+2
-2
lines changed

app/code/Magento/Sales/Block/Adminhtml/Order/Status/Assign/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ protected function _prepareForm()
107107
$fieldset->addField(
108108
'visible_on_front',
109109
'checkbox',
110-
['name' => 'visible_on_front', 'label' => __('Visible On Storefront'), 'value' => 1]
110+
['name' => 'visible_on_front', 'label' => __('Visible On Storefront'), 'checked' => true, 'value' => 1]
111111
);
112112

113113
$form->setAction($this->getUrl('sales/order_status/assignPost'));

app/code/Magento/Sales/Test/Unit/Block/Adminhtml/Order/Status/Assign/FormTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function testToHtml()
133133
->with(
134134
'visible_on_front',
135135
'checkbox',
136-
['name' => 'visible_on_front', 'label' => __('Visible On Storefront'), 'value' => 1]
136+
['name' => 'visible_on_front', 'label' => __('Visible On Storefront'), 'value' => 1, 'checked' => true]
137137
);
138138

139139
$this->block->toHtml();

0 commit comments

Comments
 (0)