public function FileFieldAnonymousSubmissionTest::testAuthenticatedNodeWithFileWithoutTitle in Drupal 8
Same name and namespace in other branches
- 9 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() {
$admin_user = $this
->drupalCreateUser([
'bypass node access',
'access content overview',
'administer nodes',
]);
$this
->drupalLogin($admin_user);
$this
->doTestNodeWithFileWithoutTitle();
}