29 calls to CommentTestBase::postComment()

CommentAdminTest::testApprovalAdminInterface in core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
Tests comment approval functionality through admin/content/comment.
CommentAdminTest::testApprovalAdminInterface in core/modules/comment/tests/src/Functional/CommentAdminTest.php
Tests comment approval functionality through admin/content/comment.
CommentAdminTest::testApprovalNodeInterface in core/modules/comment/tests/src/Functional/CommentAdminTest.php
Tests comment approval functionality through the node interface.
CommentAdminTest::testCommentedEntityLabel in core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
Tests commented entity label of admin view.
CommentAdminTest::testCommentedTranslationDeletion in core/modules/comment/tests/src/Functional/CommentAdminTest.php
Tests commented translation deletion admin view.
CommentAdminTest::testEditComment in core/modules/comment/tests/src/Functional/CommentAdminTest.php
Tests editing a comment as an admin.
CommentAnonymousTest::testAnonymous in core/modules/comment/tests/src/Functional/CommentAnonymousTest.php
Tests anonymous comment functionality.
CommentBlockTest::testRecentCommentBlock in core/modules/comment/tests/src/Functional/CommentBlockTest.php
Tests the recent comments block.
CommentEditTest::testCommentEdit in core/modules/comment/tests/src/Functional/Views/CommentEditTest.php
Tests comment label in admin view.
CommentEntityReferenceTest::setUp in core/modules/comment/tests/src/Functional/CommentEntityReferenceTest.php
CommentFieldsTest::testCommentFieldLinksNonDefaultName in core/modules/comment/tests/src/Functional/CommentFieldsTest.php
Tests link building with non-default comment field names.
CommentInterfaceTest::testAutoFilledSubject in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
Tests that the subject is automatically filled if disabled or left blank.
CommentInterfaceTest::testCommentInterface in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
Tests the comment interface.
CommentInterfaceTest::testViewMode in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
Tests the comment formatter configured with a custom comment view mode.
CommentLinksAlterTest::testCommentLinksAlter in core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
Tests comment links altering.
CommentNodeAccessTest::testThreadedCommentView in core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
Tests that threaded comments can be viewed.
CommentNodeChangesTest::testNodeDeletion in core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php
Tests that comments are deleted with the node.
CommentPagerTest::testCommentNewPageIndicator in core/modules/comment/tests/src/Functional/CommentPagerTest.php
Tests calculation of first page with new comment.
CommentPagerTest::testCommentOrderingThreading in core/modules/comment/tests/src/Functional/CommentPagerTest.php
Tests comment ordering and threading.
CommentPagerTest::testCommentPaging in core/modules/comment/tests/src/Functional/CommentPagerTest.php
Confirms comment paging works correctly with flat and threaded comments.
CommentPagerTest::testCommentPermalink in core/modules/comment/tests/src/Functional/CommentPagerTest.php
Confirms comment paging works correctly with flat and threaded comments.
CommentPagerTest::testTwoPagers in core/modules/comment/tests/src/Functional/CommentPagerTest.php
Confirms comment paging works correctly with two pagers.
CommentPreviewTest::testCommentEditPreviewSave in core/modules/comment/tests/src/Functional/CommentPreviewTest.php
Tests comment edit, preview, and save.
CommentRssTest::testCommentRss in core/modules/comment/tests/src/Functional/CommentRssTest.php
Tests comments as part of an RSS feed.
CommentStatisticsTest::testCommentNodeCommentStatistics in core/modules/comment/tests/src/Functional/CommentStatisticsTest.php
Tests the node comment statistics.
CommentThreadingTest::testCommentThreading in core/modules/comment/tests/src/Functional/CommentThreadingTest.php
Tests the comment threading.
CommentTitleTest::testCommentEmptyTitles in core/modules/comment/tests/src/Functional/CommentTitleTest.php
Tests markup for comments with empty titles.
CommentTitleTest::testCommentPopulatedTitles in core/modules/comment/tests/src/Functional/CommentTitleTest.php
Tests markup for comments with populated titles.
CommentTokenReplaceTest::testCommentTokenReplacement in core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
Creates a comment, then tests the tokens generated from it.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.