public function ConfigurationUITest::testNoTrackingUI in Configuration Management 7
Tests the "no tracking" page.
File
- tests/
configuration.test, line 497 - Tests for Configuration Management
Class
Code
public function testNoTrackingUI() {
$this
->trackConfigurations();
$roles = user_roles();
// For each tracked component, it shouldn't be a checkbox in the 'no
// tracking tab'.
$this
->drupalGet('admin/config/system/configuration/notracking');
foreach ($this->trackedComponents as $component => $identifiers) {
foreach ($identifiers as $identifier) {
$this
->assertNoFieldByName($component . '[items][' . $identifier . ']', $identifier, t('Checkbox for @component (@identifier) not found', array(
'@component' => $component,
'@identifier' => $identifier,
)));
}
}
}