1 field_ui.test | FieldUIManageFieldsTestCase::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
- core/
modules/ field_ui/ tests/ field_ui.test, line 193 - Tests for field_ui.module.
Class
- FieldUIManageFieldsTestCase
- Tests the functionality of the 'Manage fields' screen.
Code
function testCRUDFields() {
$this->manageFieldsPage();
$this->createField();
$this->updateField();
$this->addExistingField();
}