You are here

protected function TestRoleConfiguration::createConfigToExport in Configuration Management 7.2

This function creates the configurations that will be exported by configuration management.

Overrides ConfigurationHandlerBaseTestCase::createConfigToExport

File

tests/handlers/TestRoleConfiguration.test, line 80

Class

TestRoleConfiguration

Code

protected function createConfigToExport() {
  $data = (object) array(
    'name' => 'My Custom Role',
    'weight' => '3',
  );
  user_role_save($data);
}