$this->assertPathMatch('public://'.$test_file->filename,$node_file->uri,t('The file %file was uploaded to the correct path.',array('%file'=>$node_file->uri)));
// Change the path to contain multiple subdirectories.
$this->assertFileExists($node_file,t('File exists after uploading a file (%filesize) with no max limit.',array('%filesize'=>format_size($large_file->filesize))));
$this->assertFileEntryExists($node_file,t('File entry exists after uploading a file (%filesize) with no max limit.',array('%filesize'=>format_size($large_file->filesize))));
// Remove our file field.
field_delete_field($field_name);
}
/**
...
...
@@ -129,8 +119,6 @@ function testFileExtension() {