diff --git a/tests/filefield.test b/tests/filefield.test index db01375..6564f53 100644 --- tests/filefield.test +++ tests/filefield.test @@ -10,7 +10,7 @@ class FileFieldTestCase extends DrupalWebTestCase { // Views is included here just so that it doesn't whine when CCK tries to // clear the caches. $modules = array_merge(func_get_args(), array('content', 'filefield', 'filefield_meta', 'getid3', 'mimedetect', 'token', 'views')); - call_user_func_array(array($this, 'parent::setUp'), $modules); + call_user_func_array(array('parent', 'setUp'), $modules); // Create and login user $this->admin_user = $this->drupalCreateUser(array('access administration pages', 'administer site configuration', 'administer content types', 'administer nodes', 'administer files')); -- 1.7.8.2 Index: filefield.test =================================================================== --- tests/filefield.test (revision 6437) +++ tests/filefield.test (working copy) @@ -347,7 +347,7 @@ */ function setUp() { $modules = array_merge(func_get_args(), array('content', 'filefield', 'filefield_meta', 'getid3', 'mimedetect', 'token', 'views')); - call_user_func_array(array($this, 'parent::setUp'), $modules); + call_user_func_array(array('parent', 'setUp'), $modules); $this->node_type = $this->drupalCreateContentType(); $this->node_type->url_name = str_replace('_', '-', $this->node_type->name);