public function ConfigurationUITest::testNonTrackingUI in Configuration Management 7.2
File
- ui/
tests/ configuration_ui.test, line 110 - Tests for Configuration Management
Class
Code
public function testNonTrackingUI() {
$this
->drupalGet('admin/config/system/configuration/notracking');
foreach ($this->components as $component => $name) {
$this
->assertRaw('<span class="fieldset-legend">' . $name . '</span>');
}
foreach ($this->configurations as $id) {
list($component, $identifier) = explode('.', $id, 2);
$this
->assertFieldByName('items[' . $id . ']', $id, t("Checkbox for @identifier found", array(
'@identifier' => $id,
)));
}
}