59 calls to CommentTestTrait::addDefaultCommentField()
- BigPipeRegressionTest::testCommentForm_2698811 in core/
modules/ big_pipe/ tests/ src/ FunctionalJavascript/ BigPipeRegressionTest.php - Ensure comment form works with history and big_pipe modules.
- CommentAccessTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentAccessTest.php - CommentAdminTest::testCommentedEntityLabel in core/
modules/ comment/ tests/ src/ Functional/ Views/ CommentAdminTest.php - Tests commented entity label of admin view.
- CommentBookTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentBookTest.php - CommentCacheTagsTest::createEntity in core/
modules/ comment/ tests/ src/ Functional/ CommentCacheTagsTest.php - Creates the entity to be tested.
- CommentDefaultFormatterCacheTagsTest::setUp in core/
modules/ comment/ tests/ src/ Kernel/ CommentDefaultFormatterCacheTagsTest.php - CommentEntityTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentEntityTest.php - CommentFieldAccessTest::testAccessToAdministrativeFields in core/
modules/ comment/ tests/ src/ Kernel/ CommentFieldAccessTest.php - Test permissions on comment fields.
- CommentFieldNameTest::testCommentFieldName in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentFieldNameTest.php - Test comment field name.
- CommentFieldsTest::testCommentDefaultFields in core/
modules/ comment/ tests/ src/ Functional/ CommentFieldsTest.php - Tests that the default 'comment_body' field is correctly added.
- CommentFieldsTest::testCommentFieldDelete in core/
modules/ comment/ tests/ src/ Functional/ CommentFieldsTest.php - Tests that you can remove a comment field.
- CommentFieldsTest::testCommentFieldLinksNonDefaultName in core/
modules/ comment/ tests/ src/ Functional/ CommentFieldsTest.php - Tests link building with non-default comment field names.
- CommentFieldsTest::testCommentInstallAfterContentModule in core/
modules/ comment/ tests/ src/ Functional/ CommentFieldsTest.php - Tests that comment module works when installed after a content module.
- CommentItemTest::testCommentAuthorName in core/
modules/ comment/ tests/ src/ Kernel/ CommentItemTest.php - Tests comment author name.
- CommentItemTest::testCommentItem in core/
modules/ comment/ tests/ src/ Kernel/ CommentItemTest.php - Tests using entity fields of the comment field type.
- CommentLanguageTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentLanguageTest.php - CommentNonNodeTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentNonNodeTest.php - CommentPagerTest::testTwoPagers in core/
modules/ comment/ tests/ src/ Functional/ CommentPagerTest.php - Confirms comment paging works correctly with two pagers.
- CommentResourceTestBase::createEntity in core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php - Creates the entity to be tested.
- CommentStatusFieldAccessTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentStatusFieldAccessTest.php - CommentTest::createEntity in core/
modules/ jsonapi/ tests/ src/ Functional/ CommentTest.php - Creates the entity to be tested.
- CommentTestBase::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentTestBase.php - CommentTestBase::setUp in core/
modules/ comment/ src/ Tests/ CommentTestBase.php - Sets up a Drupal site for running functional and integration tests.
- CommentTestBase::setUp in core/
modules/ comment/ src/ Tests/ Views/ CommentTestBase.php - Sets up a Drupal site for running functional and integration tests.
- CommentTestBase::setUp in core/
modules/ comment/ tests/ src/ Functional/ Views/ CommentTestBase.php - CommentTokenReplaceTest::testCommentTokenReplacement in core/
modules/ comment/ tests/ src/ Functional/ CommentTokenReplaceTest.php - Creates a comment, then tests the tokens generated from it.
- CommentTranslationUITest::setupBundle in core/
modules/ comment/ tests/ src/ Functional/ CommentTranslationUITest.php - Creates or initializes the bundle date if needed.
- CommentTypeTest::testCommentTypeDeletion in core/
modules/ comment/ tests/ src/ Functional/ CommentTypeTest.php - Tests deleting a comment type that still has content.
- CommentUninstallTest::setUp in core/
modules/ comment/ tests/ src/ Kernel/ CommentUninstallTest.php - ContentTranslationSettingsTest::setUp in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationSettingsTest.php - DefaultViewRecentCommentsTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ Views/ DefaultViewRecentCommentsTest.php - DefaultViewsTest::setUp in core/
modules/ views/ tests/ src/ Functional/ DefaultViewsTest.php - EntityCrudHookTest::testCommentHooks in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityCrudHookTest.php - Tests hook invocations for CRUD operations on comments.
- EntityFilteringThemeTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Theme/ EntityFilteringThemeTest.php - EntityReferenceSelectionAccessTest::testCommentHandler in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityReferenceSelection/ EntityReferenceSelectionAccessTest.php - Test the comment-specific overrides of the entity handler.
- FieldEntityTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Entity/ FieldEntityTest.php - FileFieldWidgetTest::testPrivateFileComment in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests that download restrictions on private files work on comments.
- FilterAndArgumentUserUidTest::testHandlers in core/
modules/ comment/ tests/ src/ Kernel/ Views/ FilterAndArgumentUserUidTest.php - Tests the user posted or commented filter and argument handlers.
- FilterHtmlImageSecureTest::setUp in core/
modules/ filter/ tests/ src/ Functional/ FilterHtmlImageSecureTest.php - HandlerAllTest::testHandlers in core/
modules/ views/ tests/ src/ Functional/ Handler/ HandlerAllTest.php - Tests most of the handlers.
- HandlerTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Handler/ HandlerTest.php - JsonApiRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Ensure filtering on relationships works with bundle-specific target types.
- JsonApiRegressionTest::testDeepNestedIncludeMultiTargetEntityTypeFieldFromIssue2973681 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Ensure deep nested include works on multi target entity type field.
- JsonApiRegressionTest::testLeakedCacheMetadataViaRdfFromIssue3053827 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Ensure that child comments can be retrieved via JSON:API.
- NodeAccessPagerTest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeAccessPagerTest.php - NodeTitleTest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeTitleTest.php - PagePreviewTest::setUp in core/
modules/ node/ tests/ src/ Functional/ PagePreviewTest.php - SearchCommentCountToggleTest::setUp in core/
modules/ search/ tests/ src/ Functional/ SearchCommentCountToggleTest.php - SearchCommentTest::setUp in core/
modules/ search/ tests/ src/ Functional/ SearchCommentTest.php - SearchRankingTest::testRankings in core/
modules/ search/ tests/ src/ Functional/ SearchRankingTest.php - TrackerNodeAccessTest::setUp in core/
modules/ tracker/ tests/ src/ Functional/ TrackerNodeAccessTest.php - TrackerTest::setUp in core/
modules/ tracker/ tests/ src/ Functional/ TrackerTest.php - TrackerTestBase::setUp in core/
modules/ tracker/ src/ Tests/ Views/ TrackerTestBase.php - Sets up a Drupal site for running functional and integration tests.
- TrackerTestBase::setUp in core/
modules/ tracker/ tests/ src/ Functional/ Views/ TrackerTestBase.php - UserCancelTest::testUserAnonymize in core/
modules/ user/ tests/ src/ Functional/ UserCancelTest.php - Delete account and anonymize all content.
- UserCancelTest::testUserBlockUnpublish in core/
modules/ user/ tests/ src/ Functional/ UserCancelTest.php - Disable account and unpublish all content.
- UserCancelTest::testUserDelete in core/
modules/ user/ tests/ src/ Functional/ UserCancelTest.php - Delete account and remove all content.
- ViewExecutableTest::setUpFixtures in core/
modules/ views/ tests/ src/ Kernel/ ViewExecutableTest.php - Sets up the configuration and schema of views and views_test_data modules.
- WizardTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ Views/ WizardTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.