@@ -5,8 +5,8 @@ version = VERSION
|
||||
core = 7.x
|
||||
files[] = syslog.test
|
||||
|
||||
; Information added by drupal.org packaging script on 2012-10-17
|
||||
version = "7.16"
|
||||
; Information added by drupal.org packaging script on 2012-11-07
|
||||
version = "7.17"
|
||||
project = "drupal"
|
||||
datestamp = "1350508567"
|
||||
datestamp = "1352325357"
|
||||
|
||||
|
@@ -70,10 +70,11 @@ function syslog_form_system_logging_settings_alter(&$form, &$form_state) {
|
||||
$form['actions']['#weight'] = 1;
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Lists all possible syslog facilities for UNIX/Linux.
|
||||
*
|
||||
* @return array
|
||||
* An array of syslog facilities for UNIX/Linux.
|
||||
*/
|
||||
function syslog_facility_list() {
|
||||
return array(
|
||||
|
@@ -37,7 +37,7 @@ class SyslogTestCase extends DrupalWebTestCase {
|
||||
$this->drupalGet('admin/config/development/logging');
|
||||
if ($this->parse()) {
|
||||
$field = $this->xpath('//option[@value=:value]', array(':value' => LOG_LOCAL6)); // Should be one field.
|
||||
$this->assertTrue($field[0]['selected'] == 'selected', t('Facility value saved.'));
|
||||
$this->assertTrue($field[0]['selected'] == 'selected', 'Facility value saved.');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user