CommentStringIdEntitiesTest |
class |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
Tests that comment fields cannot be added to entities with non-integer IDs. |
CommentStringIdEntitiesTest.php |
file |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
|
CommentStringIdEntitiesTest::$modules |
property |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
Modules to install. |
CommentStringIdEntitiesTest::setUp |
function |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
|
CommentStringIdEntitiesTest::testCommentFieldNonStringId |
function |
core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php |
Tests that comment fields cannot be added entities with non-integer IDs. |
CommentTest |
class |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php |
Tests D6 comment source plugin. |
CommentTest |
class |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php |
Tests D7 comment source plugin. |
CommentTest |
class |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
JSON:API integration test for the "Comment" content entity type. |
CommentTest.php |
file |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
|
CommentTest.php |
file |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php |
|
CommentTest.php |
file |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php |
|
CommentTest::$commentedEntity |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
|
CommentTest::$defaultTheme |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The theme to install as the default for testing. |
CommentTest::$entity |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
|
CommentTest::$entityTypeId |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The tested entity type. |
CommentTest::$modules |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Modules to install. |
CommentTest::$modules |
property |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php |
Modules to install. |
CommentTest::$modules |
property |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php |
Modules to install. |
CommentTest::$patchProtectedFieldNames |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The fields that are protected against modification during PATCH requests. |
CommentTest::$resourceTypeName |
property |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The name of the tested JSON:API resource type. |
CommentTest::createEntity |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Creates the entity to be tested. |
CommentTest::doTestPatchIndividual |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Tests PATCHing an individual resource, plus edge cases to ensure good DX. |
CommentTest::entityAccess |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Checks access for the given operation on the given entity. |
CommentTest::getExpectedCacheContexts |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
CommentTest::getExpectedCacheTags |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
The expected cache tags for the GET/HEAD response of the test entity. |
CommentTest::getExpectedCollectionCacheability |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Computes the cacheability for a given entity collection. |
CommentTest::getExpectedDocument |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Returns the expected JSON:API document for the entity. |
CommentTest::getExpectedUnauthorizedAccessCacheability |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Returns the expected cacheability for an unauthorized response. |
CommentTest::getExpectedUnauthorizedAccessMessage |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Return the expected error message. |
CommentTest::getIncludePermissions |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Authorize the user under test with additional permissions to view includes. |
CommentTest::getPostDocument |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Returns the JSON:API POST document. |
CommentTest::providerSource |
function |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentTest.php |
Provides source data for ::testSource. |
CommentTest::providerSource |
function |
core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentTest.php |
Provides source data for ::testSource. |
CommentTest::setUpAuthorization |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
Sets up the necessary authorization. |
CommentTest::testCollectionFilterAccess |
function |
core/modules/jsonapi/tests/src/Functional/CommentTest.php |
|
CommentTestBase |
class |
core/modules/comment/tests/src/Functional/CommentTestBase.php |
Provides setup and helper methods for comment tests. |
CommentTestBase |
class |
core/modules/comment/tests/src/Functional/Views/CommentTestBase.php |
Provides setup and helper methods for comment views tests. |
CommentTestBase.php |
file |
core/modules/comment/tests/src/Functional/CommentTestBase.php |
|
CommentTestBase.php |
file |
core/modules/comment/tests/src/Functional/Views/CommentTestBase.php |
|
CommentTestBase::$account |
property |
core/modules/comment/tests/src/Functional/Views/CommentTestBase.php |
A normal user with permission to post comments (without approval). |
CommentTestBase::$account2 |
property |
core/modules/comment/tests/src/Functional/Views/CommentTestBase.php |
A second normal user that will author a node for $account to comment on. |
CommentTestBase::$adminUser |
property |
core/modules/comment/tests/src/Functional/CommentTestBase.php |
An administrative user with permission to configure comment settings. |
CommentTestBase::$comment |
property |
core/modules/comment/tests/src/Functional/Views/CommentTestBase.php |
Stores a comment used by the tests. |
CommentTestBase::$modules |
property |
core/modules/comment/tests/src/Functional/CommentTestBase.php |
Modules to install. |
CommentTestBase::$modules |
property |
core/modules/comment/tests/src/Functional/Views/CommentTestBase.php |
Modules to install. |
CommentTestBase::$node |
property |
core/modules/comment/tests/src/Functional/CommentTestBase.php |
A test node to which comments will be posted. |
CommentTestBase::$nodeUserCommented |
property |
core/modules/comment/tests/src/Functional/Views/CommentTestBase.php |
Stores a node posted by the user created as $account2. |
CommentTestBase::$nodeUserPosted |
property |
core/modules/comment/tests/src/Functional/Views/CommentTestBase.php |
Stores a node posted by the user created as $account. |
CommentTestBase::$webUser |
property |
core/modules/comment/tests/src/Functional/CommentTestBase.php |
A normal user with permission to post comments. |
CommentTestBase::commentContactInfoAvailable |
function |
core/modules/comment/tests/src/Functional/CommentTestBase.php |
Checks whether the commenter's contact information is displayed. |