protected function TestTextFormatConfiguration::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/ TestTextFormatConfiguration.test, line 92
Class
Code
protected function modifyConfiguration() {
$web_user = $this
->drupalCreateUser(array(
'administer filters',
));
$this
->drupalLogin($web_user);
$edit = array();
$edit['name'] = 'modified';
$this
->drupalPost('admin/config/content/formats/custom', $edit, t('Save configuration'));
filter_formats_reset();
}