You are here

protected function TestPageManagerConfiguration::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/TestPageManagerConfiguration.test, line 261
Tests for Configuration Management: Page manager components and dependencies.

Class

TestPageManagerConfiguration
@file Tests for Configuration Management: Page manager components and dependencies.

Code

protected function modifyConfiguration() {
  $web_user = $this
    ->drupalCreateUser(array(
    'use page manager',
  ));
  $this
    ->drupalLogin($web_user);
  $edit = array();
  $edit['admin_title'] = 'The title has changed.';
  $this
    ->drupalPost('admin/structure/pages/nojs/operation/page-configuration_test_page/settings/basic', $edit, t('Update and save'));
}