diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-10 17:30:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-10 17:30:15 +0000 |
commit | bdb7e56143d52bb8528042591f0e8df9afde45db (patch) | |
tree | 6801086da136619cdecfe34a94d482118f5fe4e7 /modules/system/system.test | |
parent | e892ed5c317f7d37da09a2ad3a0e113703437b10 (diff) | |
download | brdo-bdb7e56143d52bb8528042591f0e8df9afde45db.tar.gz brdo-bdb7e56143d52bb8528042591f0e8df9afde45db.tar.bz2 |
- Patch #741578 by nikgregory, andypost, Berdir, noahb: 'File' is a reserved word that should not be used.
Diffstat (limited to 'modules/system/system.test')
-rw-r--r-- | modules/system/system.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index a18112230..dd7b44699 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -469,7 +469,7 @@ class CronRunTestCase extends DrupalWebTestCase { function testTempFileCleanup() { // Temporary file that is older than DRUPAL_MAXIMUM_TEMP_FILE_AGE. $temp_old = file_save_data(''); - db_update('file') + db_update('file_managed') ->fields(array( 'status' => 0, 'timestamp' => 1, @@ -480,7 +480,7 @@ class CronRunTestCase extends DrupalWebTestCase { // Temporary file that is less than DRUPAL_MAXIMUM_TEMP_FILE_AGE. $temp_new = file_save_data(''); - db_update('file') + db_update('file_managed') ->fields(array('status' => 0)) ->condition('fid', $temp_new->fid) ->execute(); @@ -488,7 +488,7 @@ class CronRunTestCase extends DrupalWebTestCase { // Permanent file that is older than DRUPAL_MAXIMUM_TEMP_FILE_AGE. $perm_old = file_save_data(''); - db_update('file') + db_update('file_managed') ->fields(array('timestamp' => 1)) ->condition('fid', $temp_old->fid) ->execute(); |