diff options
author | nod_ <nod_@598310.no-reply.drupal.org> | 2025-02-16 20:23:18 +0900 |
---|---|---|
committer | nod_ <nod_@598310.no-reply.drupal.org> | 2025-02-16 20:23:18 +0900 |
commit | 0d45553b72d998502ebe5f76c95a121611f9618d (patch) | |
tree | 5e88f7c908e2f2e8a8b9d2691827f6691d048671 /core/modules/comment | |
parent | 5509149c5e45ea8216eb743d9a1030a28d08d1f1 (diff) | |
download | drupal-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.php | 3 | ||||
-rw-r--r-- | core/modules/comment/tests/src/Functional/Rest/CommentTypeResourceTestBase.php | 2 |
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 { |