Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected function _getGroupRenderer()
'',
['data' => ['is_render_to_js_template' => true]]
);
$this->_groupRenderer->setClass('customer_group_select');
$this->_groupRenderer->setClass('customer_group_select admin__control-select');
}
return $this->_groupRenderer;
}
Expand All @@ -57,7 +57,7 @@ protected function _prepareToRender()
'min_sale_qty',
[
'label' => __('Minimum Qty'),
'class' => 'required-entry validate-number validate-greater-than-zero'
'class' => 'required-entry validate-number validate-greater-than-zero admin__control-text'
]
);
$this->_addAfter = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ protected function setUp()

public function testToHtml()
{
$this->_block->setClass('customer_group_select');
$this->_block->setClass('customer_group_select admin__control-select');
$this->_block->setId('123');
$this->_block->setTitle('Customer Group');
$this->_block->setInputName('groups[item_options]');
$expectedResult = '<select name="groups[item_options]" id="123" class="customer_group_select" '
$expectedResult = '<select name="groups[item_options]" id="123" '
. 'class="customer_group_select admin__control-select" '
. 'title="Customer Group" ><option value="32000" >ALL GROUPS</option><option value="0" >NOT LOGGED IN'
. '</option><option value="1" >General</option><option value="2" >Wholesale</option><option value="3" >'
. 'Retailer</option></select>';
Expand Down