diff options
Diffstat (limited to 'modules/upload/upload.test')
-rw-r--r-- | modules/upload/upload.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.test b/modules/upload/upload.test index 09a297213..ac75da787 100644 --- a/modules/upload/upload.test +++ b/modules/upload/upload.test @@ -192,7 +192,7 @@ class UploadTestCase extends DrupalWebTestCase { * @param string $filename Name of file to upload. * @param boolean $assert Assert that the node was successfully updated. */ - function uploadFile($node, $filename, $assert = TRUE) { + function uploadFile(stdClass $node, $filename, $assert = TRUE) { $edit = array(); $edit['files[upload]'] = $filename; //edit-upload $this->drupalPost('node/' . $node->nid . '/edit', $edit, t('Save')); |