Commit cf987be1 authored by webchick's avatar webchick

#253702 follow-up by catch: Fix file.inc tests.

parent 6c607074
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment