61 calls to CommentTestTrait::addDefaultCommentField()
- CommentAccessTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentAccessTest.php - CommentActionsTest::setUp in core/
modules/ comment/ tests/ src/ Kernel/ CommentActionsTest.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/ book/ tests/ src/ Functional/ Comment/ CommentBookTest.php - CommentCacheTagsTest::createEntity in core/
modules/ comment/ tests/ src/ Functional/ CommentCacheTagsTest.php - 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 - Tests permissions on comment fields.
- CommentFieldNameTest::testCommentFieldName in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentFieldNameTest.php - Tests 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.
- 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 - CommentStatusFieldAccessTest::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentStatusFieldAccessTest.php - CommentTest::createEntity in core/
modules/ jsonapi/ tests/ src/ Functional/ CommentTest.php - CommentTestBase::setUp in core/
modules/ comment/ tests/ src/ Functional/ CommentTestBase.php - 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 - 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 - CommentValidationTest::testValidationOfCommentOfUnpublishedNode in core/
modules/ comment/ tests/ src/ Kernel/ CommentValidationTest.php - Tests that comments of unpublished nodes are not valid.
- 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/ Kernel/ Entity/ EntityReferenceSelection/ EntityReferenceSelectionAccessTest.php - Tests the comment-specific overrides of the entity handler.
- FieldEntityTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ Entity/ FieldEntityTest.php - FieldEntityTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Entity/ FieldEntityTest.php - Sets up the test.
- 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/ Kernel/ Handler/ HandlerAllTest.php - Tests most of the handlers.
- HandlerTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Handler/ HandlerTest.php - JsonApiFilterRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFilterRegressionTest.php - Ensure filtering on relationships works with bundle-specific target types.
- JsonApiPatchRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiPatchRegressionTest.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.
- NodeAccessPagerTest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeAccessPagerTest.php - NodeTitleTest::setUp in core/
modules/ node/ tests/ src/ Functional/ NodeTitleTest.php - NodeTranslationUITest::testTranslationRendering in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - Tests that translations are rendered properly.
- PageCacheTagsIntegrationTest::testPageCacheTags in core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTagsIntegrationTest.php - Tests that cache tags are properly bubbled up to the page level.
- 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 - UserCancelTest::testUserAnonymize in core/
modules/ user/ tests/ src/ Functional/ UserCancelTest.php - Delete account and anonymize all content.
- UserCancelTest::testUserAnonymizeTranslations in core/
modules/ user/ tests/ src/ Functional/ UserCancelTest.php - Delete account and anonymize all content and it's translations.
- 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.
- UserPermissionsTest::testBundlePermissionError in core/
modules/ user/ tests/ src/ Functional/ UserPermissionsTest.php - Tests that access check does not trigger warnings.
- UserPictureTest::testPictureOnNodeComment in core/
modules/ user/ tests/ src/ Functional/ UserPictureTest.php - Tests embedded users on node pages.
- ViewExecutableTest::setUpFixtures in core/
modules/ views/ tests/ src/ Kernel/ ViewExecutableTest.php - 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.