#549182 by catch: Move logging and errors to admin/config/development.
parent
c730d8c179
commit
40052b63f2
|
@ -50,7 +50,7 @@ class DBLogTestCase extends DrupalWebTestCase {
|
|||
// Change the dblog row limit.
|
||||
$edit = array();
|
||||
$edit['dblog_row_limit'] = $row_limit;
|
||||
$this->drupalPost('admin/settings/logging', $edit, t('Save configuration'));
|
||||
$this->drupalPost('admin/config/development/logging', $edit, t('Save configuration'));
|
||||
$this->assertResponse(200);
|
||||
|
||||
// Check row limit variable.
|
||||
|
|
|
@ -29,10 +29,10 @@ class SyslogTestCase extends DrupalWebTestCase {
|
|||
else {
|
||||
$edit['syslog_facility'] = LOG_USER;
|
||||
}
|
||||
$this->drupalPost('admin/settings/logging', $edit, t('Save configuration'));
|
||||
$this->drupalPost('admin/config/development/logging', $edit, t('Save configuration'));
|
||||
$this->assertText(t('The configuration options have been saved.'));
|
||||
|
||||
$this->drupalGet('admin/settings/logging');
|
||||
$this->drupalGet('admin/config/development/logging');
|
||||
if ($this->parse()) {
|
||||
$field = $this->xpath('//option[@value="' . $edit['syslog_facility'] . '"]'); // Should be one field.
|
||||
$this->assertTrue($field[0]['selected'] == 'selected', t('Facility value saved.'));
|
||||
|
|
|
@ -706,19 +706,13 @@ function system_menu() {
|
|||
'page arguments' => array('system_site_information_settings'),
|
||||
'access arguments' => array('administer site configuration'),
|
||||
);
|
||||
$items['admin/settings/logging'] = array(
|
||||
$items['admin/config/development/logging'] = array(
|
||||
'title' => 'Logging and errors',
|
||||
'description' => "Settings for logging and alerts modules. Various modules can route Drupal's system events to different destinations, such as syslog, database, email, etc.",
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('system_logging_settings'),
|
||||
'access arguments' => array('administer site configuration'),
|
||||
);
|
||||
$items['admin/settings/logging/settings'] = array(
|
||||
'title' => 'Settings',
|
||||
'access arguments' => array('administer site configuration'),
|
||||
'type' => MENU_DEFAULT_LOCAL_TASK,
|
||||
'weight' => -1,
|
||||
);
|
||||
$items['admin/settings/file-system'] = array(
|
||||
'title' => 'File system',
|
||||
'description' => 'Tell Drupal where to store uploaded files and how they are accessed.',
|
||||
|
|
Loading…
Reference in New Issue