function FileFieldAnonymousSubmissionTest::testAnonymousNodeWithFileWithoutTitle

Same name in other branches
  1. 9 core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php \Drupal\Tests\file\Functional\FileFieldAnonymousSubmissionTest::testAnonymousNodeWithFileWithoutTitle()
  2. 8.9.x core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php \Drupal\Tests\file\Functional\FileFieldAnonymousSubmissionTest::testAnonymousNodeWithFileWithoutTitle()
  3. 11.x core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php \Drupal\Tests\file\Functional\FileFieldAnonymousSubmissionTest::testAnonymousNodeWithFileWithoutTitle()

Tests file submission for an anonymous visitor with a missing node title.

File

core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php, line 103

Class

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

Namespace

Drupal\Tests\file\Functional

Code

public function testAnonymousNodeWithFileWithoutTitle() : void {
    $this->drupalLogout();
    $this->doTestNodeWithFileWithoutTitle();
}

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