summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-15 16:10:12 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-15 16:10:12 +0000
commitcf987be12d600a513f5efa779602ad4b6682e147 (patch)
tree5af97eef37c8a4197c4888bb952b658da6aae8a6 /modules/simpletest
parent6c60707449dd9d7007b43eb92866893a5c2adadd (diff)
downloadbrdo-cf987be12d600a513f5efa779602ad4b6682e147.tar.gz
brdo-cf987be12d600a513f5efa779602ad4b6682e147.tar.bz2
#253702 follow-up by catch: Fix file.inc tests.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/file.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/file.test b/modules/simpletest/tests/file.test
index 38cc9415a..33fdcfb49 100644
--- a/modules/simpletest/tests/file.test
+++ b/modules/simpletest/tests/file.test
@@ -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);
}
}