From 5d658d08481c22b5ef577b39a29cd647438b211f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 22 Feb 2009 17:55:30 +0000 Subject: - Patch #380064 by c960657: make file_scan_directory() use save property names as file_load(). --- modules/blogapi/blogapi.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blogapi') 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'; -- cgit v1.2.3