Core and composer updates
This commit is contained in:
parent
a82634bb98
commit
62cac30480
1118 changed files with 21770 additions and 6306 deletions
|
@ -147,7 +147,12 @@ class TextFieldTest extends UnitTestCase {
|
|||
['list_string', 'optionwidgets_buttons'],
|
||||
['list_string', 'optionwidgets_select'],
|
||||
['boolean', 'optionwidgets_onoff'],
|
||||
['text_long', 'text_textarea'],
|
||||
['text_long', 'text_textarea', [
|
||||
'text_processing' => TRUE,
|
||||
]],
|
||||
['string_long', 'text_textarea', [
|
||||
'text_processing' => FALSE,
|
||||
]],
|
||||
[NULL, 'undefined'],
|
||||
];
|
||||
}
|
||||
|
@ -157,7 +162,8 @@ class TextFieldTest extends UnitTestCase {
|
|||
* @dataProvider getFieldTypeProvider
|
||||
*/
|
||||
public function testGetFieldType($expected_type, $widget_type, array $settings = []) {
|
||||
$row = new Row(['widget_type' => $widget_type], ['widget_type' => []]);
|
||||
$row = new Row();
|
||||
$row->setSourceProperty('widget_type', $widget_type);
|
||||
$row->setSourceProperty('global_settings', $settings);
|
||||
$this->assertSame($expected_type, $this->plugin->getFieldType($row));
|
||||
}
|
||||
|
|
Reference in a new issue