summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/comment
diff options
context:
space:
mode:
authornod_ <nod_@598310.no-reply.drupal.org>2025-02-16 20:23:18 +0900
committernod_ <nod_@598310.no-reply.drupal.org>2025-02-16 20:23:18 +0900
commit0d45553b72d998502ebe5f76c95a121611f9618d (patch)
tree5e88f7c908e2f2e8a8b9d2691827f6691d048671 /core/modules/comment
parent5509149c5e45ea8216eb743d9a1030a28d08d1f1 (diff)
downloaddrupal-0d45553b72d998502ebe5f76c95a121611f9618d.tar.gz
drupal-0d45553b72d998502ebe5f76c95a121611f9618d.zip
Issue #3498152 by shalini_jha, quietone, borisson_: Fix 'Drupal.Commenting.ClassComment.Missing' in Functional tests
Diffstat (limited to 'core/modules/comment')
-rw-r--r--core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php3
-rw-r--r--core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php2
2 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php b/core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
index 17265934fdb..b0741d3bdaa 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
@@ -16,6 +16,9 @@ use Drupal\user\Entity\User;
use GuzzleHttp\RequestOptions;
use PHPUnit\Framework\Attributes\Before;
+/**
+ * Resource test base for the comment entity.
+ */
abstract class CommentResourceTestBase extends EntityResourceTestBase {
use CommentTestTrait;
diff --git a/core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php b/core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php
index c1769a928c9..ac12736131c 100644
--- a/core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php
+++ b/core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php
@@ -8,7 +8,7 @@ use Drupal\comment\Entity\CommentType;
use Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase;
/**
- * ResourceTestBase for CommentType entity.
+ * Resource test base for CommentType entity.
*/
abstract class CommentTypeResourceTestBase extends ConfigEntityResourceTestBase {