Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit b28071f

Browse files
MAGETWO-72353: [2.2.x] [Magento Cloud] Unable to remove custom attributes from the "Forms to Use in"
1 parent 821caa7 commit b28071f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

lib/internal/Magento/Framework/Data/Test/Unit/Form/Element/MultiselectTest.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,29 +34,29 @@ public function testHiddenFieldPresentInMultiSelect()
3434
}
3535

3636
/**
37-
* Verify that hidden input is present in multiselect and it allow indicate is multiselect is disabled.
38-
*/
37+
* Verify that hidden input is present in multiselect and it allow indicate is multiselect is disabled.
38+
*/
3939
public function testHiddenDisabledFieldPresentInMultiSelect()
4040
{
4141
$fieldName = 'fieldName';
42-
$this->_model->setDisabled(true);
43-
$this->_model->setName($fieldName);
44-
$elementHtml = $this->_model->getElementHtml();
45-
$this->assertContains('<input type="hidden" name="' . $fieldName . '_disabled"', $elementHtml);
42+
$this->_model->setDisabled(true);
43+
$this->_model->setName($fieldName);
44+
$elementHtml = $this->_model->getElementHtml();
45+
$this->assertContains('<input type="hidden" name="' . $fieldName . '_disabled"', $elementHtml);
4646
}
4747

4848
/**
49-
* Verify that hidden input doesn't present in multiselect and it allow indicate is multiselect is disabled.
50-
*
51-
* @covers \Magento\Framework\Data\Form\Element\Multiselect::getElementHtml
52-
*/
49+
* Verify that hidden input doesn't present in multiselect and it allow indicate is multiselect is disabled.
50+
*
51+
* @covers \Magento\Framework\Data\Form\Element\Multiselect::getElementHtml
52+
*/
5353
public function testHiddenDisabledFieldNotPresentInMultiSelect()
5454
{
5555
$fieldName = 'fieldName';
56-
$this->_model->setDisabled(false);
57-
$this->_model->setName($fieldName);
58-
$elementHtml = $this->_model->getElementHtml();
59-
$this->assertNotContains('<input type="hidden" name="' . $fieldName . '_disabled"', $elementHtml);
56+
$this->_model->setDisabled(false);
57+
$this->_model->setName($fieldName);
58+
$elementHtml = $this->_model->getElementHtml();
59+
$this->assertNotContains('<input type="hidden" name="' . $fieldName . '_disabled"', $elementHtml);
6060
}
6161

6262
/**

0 commit comments

Comments
 (0)