You are here

function TextFieldTest::testTextfieldWidgets in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/text/src/Tests/TextFieldTest.php \Drupal\text\Tests\TextFieldTest::testTextfieldWidgets()

Test widgets.

Overrides StringFieldTest::testTextfieldWidgets

File

core/modules/text/src/Tests/TextFieldTest.php, line 132
Contains \Drupal\text\Tests\TextFieldTest.

Class

TextFieldTest
Tests the creation of text fields.

Namespace

Drupal\text\Tests

Code

function testTextfieldWidgets() {
  $this
    ->_testTextfieldWidgets('text', 'text_textfield');
  $this
    ->_testTextfieldWidgets('text_long', 'text_textarea');
}