protected function FieldConfiguration::modifyConfiguration in Configuration Management 7.2
Perform changes in the configuration and save those changes into the active store.
Overrides ConfigurationHandlerBaseTestCase::modifyConfiguration
File
- tests/
handlers/ TestFieldConfiguration.test, line 148 - Tests for Configuration Management: Fields.
Class
- FieldConfiguration
- @file Tests for Configuration Management: Fields.
Code
protected function modifyConfiguration() {
$web_user = $this
->drupalCreateUser(array(
'administer content types',
));
$this
->drupalLogin($web_user);
$edit = array(
'instance[label]' => 'Modified',
'instance[description]' => 'Modified',
'instance[widget][settings][rows]' => '5',
);
$this
->drupalPost('admin/structure/types/manage/article/fields/body', $edit, t('Save settings'));
}