summaryrefslogtreecommitdiff
path: root/modules/blogapi
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blogapi')
-rw-r--r--modules/blogapi/blogapi.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blogapi/blogapi.test b/modules/blogapi/blogapi.test
index 14242d122..dd0d72ee6 100644
--- a/modules/blogapi/blogapi.test
+++ b/modules/blogapi/blogapi.test
@@ -68,7 +68,7 @@ class BlogAPITestCase extends DrupalWebTestCase {
// Upload file.
$file = current($this->drupalGetTestFiles('text'));
- $file_contents = file_get_contents($file->filename);
+ $file_contents = file_get_contents($file->filepath);
$file = array();
$file['name'] = $this->randomName() . '.txt';
$file['type'] = 'text';