Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
cf987be1
Commit
cf987be1
authored
Sep 15, 2008
by
Angie Byron
Browse files
#253702
follow-up by catch: Fix file.inc tests.
parent
6c607074
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/simpletest/tests/file.test
View file @
cf987be1
...
...
@@ -162,7 +162,7 @@ class FileValidateTest extends DrupalWebTestCase {
function
testFileValidateSize
()
{
global
$user
;
$original_user
=
$user
;
session
_save_session
(
FALSE
);
drupal
_save_session
(
FALSE
);
// Run these test as uid = 1
$user
=
user_load
(
array
(
'uid'
=>
1
));
...
...
@@ -189,7 +189,7 @@ class FileValidateTest extends DrupalWebTestCase {
$user
=
$original_user
;
session
_save_session
(
TRUE
);
drupal
_save_session
(
TRUE
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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