1 field_ui.test FieldUIManageFieldsTestCase::testCreateFieldNoSettings()

Create a field that has no global field settings.

This test creates a field but in one fewer step because the field has no global field settings.

File

core/modules/field_ui/tests/field_ui.test, line 206
Tests for field_ui.module.

Class

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

Code

function testCreateFieldNoSettings() {
  // This setting is checked in field_test_field_settings_form().
  state_get('field_ui_test_field_settings', FALSE);
  $this->createField();
}