function FileFieldAnonymousSubmissionTest::testAuthenticatedNodeWithFileWithoutTitle
Same name in other branches
- 9 core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php \Drupal\Tests\file\Functional\FileFieldAnonymousSubmissionTest::testAuthenticatedNodeWithFileWithoutTitle()
- 8.9.x core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php \Drupal\Tests\file\Functional\FileFieldAnonymousSubmissionTest::testAuthenticatedNodeWithFileWithoutTitle()
- 10 core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php \Drupal\Tests\file\Functional\FileFieldAnonymousSubmissionTest::testAuthenticatedNodeWithFileWithoutTitle()
Tests file submission for an authenticated user with a missing node title.
File
-
core/
modules/ file/ tests/ src/ Functional/ FileFieldAnonymousSubmissionTest.php, line 111
Class
- FileFieldAnonymousSubmissionTest
- Confirm that file field submissions work correctly for anonymous visitors.
Namespace
Drupal\Tests\file\FunctionalCode
public function testAuthenticatedNodeWithFileWithoutTitle() : void {
$admin_user = $this->drupalCreateUser([
'bypass node access',
'access content overview',
'administer nodes',
]);
$this->drupalLogin($admin_user);
$this->doTestNodeWithFileWithoutTitle();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.