53 calls to EntityKernelTestBase::createUser()

CommentDefaultFormatterCacheTagsTest::setUp in core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php
CommentDefaultFormatterCacheTagsTest::testCacheTags in core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php
Tests the bubbling of cache tags.
CommentFieldAccessTest::testAccessToAdministrativeFields in core/modules/comment/tests/src/Kernel/CommentFieldAccessTest.php
Test permissions on comment fields.
ContentEntityChangedTest::testChanged in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php
Tests basic EntityChangedInterface functionality.
ContentEntityChangedTest::testRevisionChanged in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php
Tests revisionable EntityChangedInterface functionality.
ContentEntityCloneTest::testClonedEntityFields in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
Tests if the entity fields are properly cloned.
ContentEntityCloneTest::testFieldEntityReferenceAfterClone in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
Tests if entity references on fields are still correct after cloning.
ContentEntityNonRevisionableFieldTest::testMulNonRevisionableField in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
Tests non-revisionable fields on revisionable and translatable entities.
ContentEntityNonRevisionableFieldTest::testMultiColumnNonRevisionableBaseField in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
Tests multi column non revisionable base field for revisionable entity.
ContentEntityNonRevisionableFieldTest::testNonRevisionableField in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
Tests non-revisionable fields on revisionable entities.
EditorFileUsageTest::testEditorEntityHooks in core/modules/editor/tests/src/Kernel/EditorFileUsageTest.php
Tests the configurable text editor manager.
EntityAccessControlHandlerTest::testDefaultEntityAccess in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
Ensures default entity access is checked when necessary.
EntityAccessControlHandlerTest::testEntityAccess in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
Ensures entity access is properly working.
EntityAccessControlHandlerTest::testEntityAccessDefaultController in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
Ensures that the default handler is used as a fallback.
EntityAccessControlHandlerTest::testEntityTranslationAccess in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
Ensures entity access for entity translations is properly working.
EntityAccessControlHandlerTest::testEntityWithoutUuidAccessCache in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
Ensures the static access cache works correctly in the absence of an UUID.
EntityAccessControlHandlerTest::testEntityWithUuidAccessCache in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
Ensures the static access cache works correctly with a UUID and revisions.
EntityAccessControlHandlerTest::testFieldAccess in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
Tests the default access handling for the ID and UUID fields.
EntityAccessControlHandlerTest::testUserLabelAccess in core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php
Ensures user labels are accessible for everyone.
EntityApiTest::testCRUD in core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php
Tests basic CRUD functionality of the Entity API.
EntityAutocompleteElementFormTest::testEntityAutocompleteAccess in core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
Tests that access is properly checked by the EntityAutocomplete element.
EntityCrudHookTest::testCommentHooks in core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
Tests hook invocations for CRUD operations on comments.
EntityCrudHookTest::testNodeHooks in core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
Tests hook invocations for CRUD operations on nodes.
EntityFieldTest::createTestEntity in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
Creates a test entity.
EntityFieldTest::doTestReadWrite in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
Executes the read write test set for a defined entity type.
EntityFieldTest::testEntityConstraintValidation in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
Tests validation constraints provided by the Entity API.
EntityHasFieldConstraintValidatorTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityKernelTestBaseTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php
EntityQueryRelationshipTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php
EntityReferenceSelectionSortTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php
EntityRevisionTranslationTest::testNewRevisionAfterTranslation in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php
Tests if the translation object has the right revision id after new revision.
EntityRevisionTranslationTest::testRevertRevisionAfterTranslation in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php
Tests if the translation object has the right revision id after new revision.
EntityRevisionTranslationTest::testSetNewRevision in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php
@covers \Drupal\Core\Entity\ContentEntityBase::setNewRevision
EntityRevisionTranslationTest::testTranslationValuesWhenSavingPendingRevisions in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php
Tests the translation values when saving a pending revision.
EntityTypeConstraintValidatorTest::testValidation in core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php
Tests the EntityTypeConstraintValidator.
EntityValidationTest::createTestEntity in core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
Creates a test entity.
FilterAPITest::testTypedDataAPI in core/modules/filter/tests/src/Kernel/FilterAPITest.php
Tests the function of the typed data type.
LayoutBuilderCompatibilityTestBase::setUp in core/modules/layout_builder/tests/src/Kernel/LayoutBuilderCompatibilityTestBase.php
LayoutBuilderEntityViewDisplayTest::testGetRuntimeSections in core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayTest.php
@covers ::getRuntimeSections @group legacy @expectedDeprecation \Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay::getRuntimeSections() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0.…
MessageEntityTest::testMessageMethods in core/modules/contact/tests/src/Kernel/MessageEntityTest.php
Test some of the methods.
NodeConditionTest::testConditions in core/modules/node/tests/src/Kernel/NodeConditionTest.php
Tests conditions.
NodeFieldAccessTest::testAccessToAdministrativeFields in core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php
Test permissions on nodes status field.
NodeFieldOverridesTest::setUp in core/modules/node/tests/src/Kernel/NodeFieldOverridesTest.php
NodeLegacyTest::testNodeGetRevisionAuthor in core/modules/node/tests/src/Kernel/NodeLegacyTest.php
Tests that Node::getRevisionAuthor() triggers a deprecation error.
NodeLegacyTest::testNodeSetRevisionAuthorId in core/modules/node/tests/src/Kernel/NodeLegacyTest.php
Tests that Node::setRevisionAuthorId() triggers a deprecation error.
NodeOwnerTest::testOwner in core/modules/node/tests/src/Kernel/NodeOwnerTest.php
Tests node owner functionality.
NodeTokenReplaceTest::testNodeTokenReplacement in core/modules/node/tests/src/Kernel/NodeTokenReplaceTest.php
Creates a node, then tests the tokens generated from it.
NodeValidationTest::testValidation in core/modules/node/tests/src/Kernel/NodeValidationTest.php
Tests the node validation constraints.
TimezoneTest::setUp in core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php
UserEntityReferenceTest::testUserSelectionByRole in core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php
Tests user selection by roles.
UserMailNotifyTest::testUserMailsNotSent in core/modules/user/tests/src/Kernel/UserMailNotifyTest.php
Tests mails are not sent when notify.$op is FALSE.
UserMailNotifyTest::testUserMailsSent in core/modules/user/tests/src/Kernel/UserMailNotifyTest.php
Tests mails are sent when notify.$op is TRUE.
ValidReferenceConstraintValidatorTest::testValidation in core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php
Tests the ValidReferenceConstraintValidator.

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