You are here

public function FileFieldAnonymousSubmissionTest::testAnonymousNodeWithFileWithoutTitle in Drupal 9

Same name and namespace in other branches
  1. 8 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 101

Class

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

Namespace

Drupal\Tests\file\Functional

Code

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