You are here

protected function TestRoleConfiguration::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/TestRoleConfiguration.test, line 92

Class

TestRoleConfiguration

Code

protected function modifyConfiguration() {
  $role = user_role_load_by_name('Developer');
  $role->name = 'Modified';
  $role->machine_name = 'developer';
  user_role_save($role);
}