function FileThemeImplementationsTestCase::testThemeFileUploadHelp

File

modules/file/tests/file.test, line 2018

Class

FileThemeImplementationsTestCase
Test theme implementations declared in file_theme().

Code

function testThemeFileUploadHelp() {
    $variables = array(
        'description' => NULL,
        'upload_validators' => NULL,
    );
    $this->assertEqual('', theme_file_upload_help($variables), 'Empty string returned by theme_file_upload_help() with NULL inputs.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.