public function FieldsTest::assertDefaultRegionSelectionDefaultValue in Layout Plugin Views 8
Same name and namespace in other branches
- 8.2 tests/src/Unit/FieldsTest.php \Drupal\Tests\layout_plugin_views\Unit\FieldsTest::assertDefaultRegionSelectionDefaultValue()
@test @todo default value is temporarily an empty string. Make this something sensible.
File
- tests/
src/ Unit/ FieldsTest.php, line 121
Class
- FieldsTest
- @coversDefaultClass \Drupal\layout_plugin_views\Plugin\views\row\Fields @group Panels
Namespace
Drupal\Tests\layout_plugin_views\UnitCode
public function assertDefaultRegionSelectionDefaultValue() {
$form = $this
->buildOptionsFrom();
$this
->assertEquals('', $form['default_region']['#default_value']);
}