function FileFieldAnonymousSubmission::testAuthenticatedNodeWithFileWithoutTitle

Tests file submission for an authenticated user with a missing node title.

File

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

Class

FileFieldAnonymousSubmission
Confirm that file field submissions work correctly for anonymous visitors.

Code

function testAuthenticatedNodeWithFileWithoutTitle() {
    $admin_user = $this->drupalCreateUser(array(
        'bypass node access',
        'access content overview',
        'administer nodes',
    ));
    $this->drupalLogin($admin_user);
    $this->_testNodeWithFileWithoutTitle();
}

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