You are here

protected function TestContentTypeConfiguration::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/TestContentTypeConfiguration.test, line 76
Tests for Configuration Management: Content Types.

Class

TestContentTypeConfiguration
@file Tests for Configuration Management: Content Types.

Code

protected function modifyConfiguration() {
  $content_type = node_type_load('test');
  $content_type->name = 'modified';
  $content_type->description = 'description modified';
  node_type_save($content_type);
}