Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0bbad33a
Commit
0bbad33a
authored
Aug 02, 2008
by
Dries
Browse files
- Patch
#287695
by cwgordon7: made syslog tests work on Windows.
parent
135937eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/syslog/syslog.test
View file @
0bbad33a
...
...
@@ -28,7 +28,13 @@ class SyslogTestCase extends DrupalWebTestCase {
$this
->
drupalLogin
(
$admin_user
);
$edit
=
array
();
$edit
[
'syslog_facility'
]
=
176
;
// LOG_LOCAL6 - Local 6.
// If we're on Windows, LOG_LOCAL6 will not be available.
if
(
defined
(
'LOG_LOCAL6'
))
{
$edit
[
'syslog_facility'
]
=
LOG_LOCAL6
;
}
else
{
$edit
[
'syslog_facility'
]
=
LOG_USER
;
}
$this
->
drupalPost
(
'admin/settings/logging/syslog'
,
$edit
,
t
(
'Save configuration'
));
$this
->
assertText
(
t
(
'The configuration options have been saved.'
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment