From 41dca3c4e0ec3d355977735f74af2e49ea0eedd7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 31 Aug 2009 05:47:34 +0000 Subject: - Patch #331171 by pwolanin, mfb, drewish: allow modules to alter the MIME extension mapping rather than setting a huge variable. --- modules/upload/upload.test | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/upload/upload.test') diff --git a/modules/upload/upload.test b/modules/upload/upload.test index dfe8e0a7e..70306ef30 100644 --- a/modules/upload/upload.test +++ b/modules/upload/upload.test @@ -207,7 +207,6 @@ class UploadTestCase extends DrupalWebTestCase { * @param string $filename Name of file to verify. */ function checkUploadedFile($filename) { - global $base_url; $file = 'public://' . $filename; $this->drupalGet(file_create_url($file), array('external' => TRUE)); $this->assertResponse(array(200), 'Uploaded ' . $filename . ' is accessible.'); -- cgit v1.2.3