function ManageFieldsTest::testCRUDFields

Runs the field CRUD tests.

In order to act on the same fields, and not create the fields over and over again the following tests create, update and delete the same fields.

File

drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php, line 63
Definition of Drupal\field_ui\Tests\ManageFieldsTest.

Class

ManageFieldsTest
Tests the functionality of the 'Manage fields' screen.

Namespace

Drupal\field_ui\Tests

Code

function testCRUDFields() {
  $this
    ->manageFieldsPage();
  $this
    ->createField();
  $this
    ->updateField();
  $this
    ->addExistingField();
  $this
    ->cardinalitySettings();
}