1 file.test public FileFieldAnonymousSubmission::testAuthenticatedNodeWithFileWithoutTitle()

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

File

core/modules/file/tests/file.test, line 2037
Tests for file.module.

Class

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

Code

public function testAuthenticatedNodeWithFileWithoutTitle() {
  $admin_user = $this->backdropCreateUser(array(
    'bypass node access',
    'access content overview',
    'administer nodes',
    'create url aliases',
  ));
  $this->backdropLogin($admin_user);
  $this->_testNodeWithFileWithoutTitle();
}