48 calls to UserCreationTrait::setUpCurrentUser()

AccessTest::testCheckFieldAccess in core/modules/file/tests/src/Kernel/AccessTest.php
Tests file entity field access.
ActiveWorkspaceUpdateTest::setUp in core/modules/workspaces/tests/src/Functional/UpdateSystem/ActiveWorkspaceUpdateTest.php
AnnounceFetcherUserTest::setUp in core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
AnnounceFetcherUserTest::testAllAnnouncementsFirst in core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php
Tests testAllAnnouncements should get all announcements.
BlockContentTest::testOperationLinks in core/modules/block_content/tests/src/Kernel/BlockContentTest.php
Tests the editing links for BlockContentBlock.
BundleClassTest::testEntityNoBundleSubclass in core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php
Tests making use of a custom bundle class for an entity without bundles.
ContentImportTest::setUp in core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
CoreRecipesTest::testApplyRecipe in core/tests/Drupal/FunctionalTests/Core/Recipe/CoreRecipesTest.php
Test the recipe apply.
EntityConverterLatestRevisionTest::setUp in core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterLatestRevisionTest.php
EntityConverterTest::setUp in core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterTest.php
EntityRepositoryTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php
FieldEntityLinkTest::setUpFixtures in core/modules/views/tests/src/Kernel/Handler/FieldEntityLinkTest.php
Sets up the configuration and schema of views and views_test_data modules.
LinkCollectionNormalizerTest::getNormalizer in core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php
Get an instance of the normalizer to test.
LinksetControllerMultiLingualTest::setUp in core/modules/system/tests/src/Functional/Menu/LinksetControllerMultiLingualTest.php
Test set up.
LinksetControllerTest::setUp in core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php
Test set up.
LinkUriTest::setUp in core/modules/menu_link_content/tests/src/Kernel/Plugin/migrate/process/LinkUriTest.php
MenuBlockTest::setUp in core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
MenuBlockTest::testOperationLinks in core/modules/menu_ui/tests/src/Kernel/MenuBlockTest.php
Tests the editing links for SystemMenuBlock.
MenuLinkContentCacheabilityBubblingTest::setUp in core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php
MenuLinksetSettingsFormTest::testMenuLinksetSettingsForm in core/modules/system/tests/src/Functional/Form/MenuLinksetSettingsFormTest.php
Tests the menu_linkset_settings form.
MigrateMenuLinkLocalizedTest::setUp in core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkLocalizedTest.php
MigrateMenuLinkTest::setUp in core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php
MigrateMenuLinkTest::setUp in core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTest.php
MigrateMenuLinkTranslationTest::setUp in core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTranslationTest.php
ModuleAdminLinksHelperTest::setUp in core/modules/system/tests/src/Kernel/ModuleAdminLinksHelperTest.php
ModulePermissionsLinkHelperTest::setUp in core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php
NodeTranslationRedirectTest::setUp in core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php
NodeTranslationRedirectTest::setUp in core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php
OverridesSectionStorageTest::setUp in core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php
OverridesSectionStorageTest::testAccess in core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php
@covers ::access @dataProvider providerTestAccess
PathValidatorTest::setUp in core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php
PrepareModulesEntityUninstallFormTest::testModuleEntityUninstallTitle in core/modules/system/tests/src/Kernel/Module/PrepareModulesEntityUninstallFormTest.php
Tests PrepareModulesEntityUninstallForm::formTitle.
RegionalSettingsFormTest::testRegionalSettingsForm in core/modules/system/tests/src/Functional/Form/RegionalSettingsFormTest.php
Tests the system_regional_settings form.
RelationshipNormalizerTest::setUp in core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php
RevisionRouteProviderTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/RevisionRouteProviderTest.php
RouteProviderTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php
RouteTest::testRouteWithParamQuery in core/modules/migrate/tests/src/Kernel/process/RouteTest.php
Tests Route plugin based on providerTestRoute() values.
RssFieldsTest::testRssFields in core/modules/views/tests/src/Kernel/Plugin/RssFieldsTest.php
Tests correct processing of RSS fields.
SearchSetLocaleTest::setUp in core/modules/search/tests/src/Kernel/SearchSetLocaleTest.php
TaxonomyFieldVidTest::testViewsHandlerVidField in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyFieldVidTest.php
Tests the field handling for the Vocabulary ID.
TextSummaryTest::testRequiredSummary in core/modules/text/tests/src/Kernel/TextSummaryTest.php
Tests required summary.
UniqueValuesConstraintValidatorTest::setUp in core/tests/Drupal/KernelTests/Core/Validation/UniqueValuesConstraintValidatorTest.php
Tests cases where the validation passes for entities with string IDs.
UpdateReportTest::testTemplatePreprocessUpdateFetchErrorMessageWithDblog in core/modules/update/tests/src/Kernel/UpdateReportTest.php
Tests the error message when failing to fetch data with dblog installed.
UpdateSettingsFormTest::testUpdateSettingsForm in core/modules/update/tests/src/Functional/UpdateSettingsFormTest.php
Tests the update_settings form.
UserControllerTest::setUp in core/modules/user/tests/src/Kernel/Controller/UserControllerTest.php
ViewsBlockTest::testOperationLinks in core/modules/views_ui/tests/src/Kernel/ViewsBlockTest.php
Tests the editing links for ViewsBlockBase.
WorkspaceCRUDTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceCRUDTest.php
WorkspaceEntityDeleteTest::setUp in core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php

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