protected function TestPageManagerConfiguration::isModified in Configuration Management 7.2
Return TRUE if the configuration is modified in the active store.
Overrides ConfigurationHandlerBaseTestCase::isModified
File
- tests/
handlers/ TestPageManagerConfiguration.test, line 93 - Tests for Configuration Management: Page manager components and dependencies.
Class
- TestPageManagerConfiguration
- @file Tests for Configuration Management: Page manager components and dependencies.
Code
protected function isModified($config) {
$modified = FALSE;
$web_user = $this
->drupalCreateUser(array(
'use page manager',
));
$this
->drupalLogin($web_user);
$this
->drupalGet('admin/structure/pages');
$modified = strpos($this
->drupalGetContent(), 'The title has changed.') !== FALSE;
return $modified;
}