You are here

public function StringFieldTest::testTextfieldWidgets in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/field/tests/src/Functional/String/StringFieldTest.php \Drupal\Tests\field\Functional\String\StringFieldTest::testTextfieldWidgets()

Test widgets.

1 method overrides StringFieldTest::testTextfieldWidgets()
TextFieldTest::testTextfieldWidgets in core/modules/text/tests/src/Functional/TextFieldTest.php
Test widgets.

File

core/modules/field/tests/src/Functional/String/StringFieldTest.php, line 53

Class

StringFieldTest
Tests the creation of string fields.

Namespace

Drupal\Tests\field\Functional\String

Code

public function testTextfieldWidgets() {
  $this
    ->_testTextfieldWidgets('string', 'string_textfield');
  $this
    ->_testTextfieldWidgets('string_long', 'string_textarea');
}