235 calls to Database::getConnection()

argument-placeholder.php in core/modules/views/tests/fixtures/update/argument-placeholder.php
Text fixture.
BigPipeTest::testBigPipe in core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
Tests BigPipe-delivered HTML responses when JavaScript is enabled.
BlockContentCreationTest::testFailedBlockCreation in core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
Verifies that a transaction rolls back the failed creation.
boolean-filter-values.php in core/modules/views/tests/fixtures/update/boolean-filter-values.php
Test fixture.
BootstrapConfigStorageFactory::getDatabaseStorage in core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php
Returns a Database configuration storage implementation.
BrokenCacheUpdateTest::testUpdate in core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php
Ensures that a broken or out-of-date element info cache is not used.
ConnectionFailureTest::testConnectionFailureLogging in core/modules/dblog/tests/src/Kernel/ConnectionFailureTest.php
Tests logging of connection failures.
ConnectionTest::testCondition in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
Test that the method ::condition() returns a Condition object.
ConnectionTest::testConnectionClosing in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
Tests the closing of a database connection.
ConnectionTest::testConnectionOptions in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
Tests the connection options of the active database.
ConnectionTest::testConnectionRouting in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionTest::testConnectionRoutingOverride in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
Tests that connections return appropriate connection objects.
ConnectionTest::testPostgresqlReservedWords in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
Test the escapeTable(), escapeField() and escapeAlias() methods with all possible reserved words in PostgreSQL.
ConnectionUnitTest::setUp in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
ConnectionUnitTest::testConnectionOpen in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
Tests pdo options override.
ConnectionUnitTest::testOpenClose in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose in core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
Tests Database::closeConnection() with a select query.
CronQueueTest::setUp in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
DatabaseBackendTagTest::testTagInvalidations in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTagTest.php
DatabaseExceptionWrapperTest::testPreparedStatement in core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php
Tests the expected database exception thrown for prepared statements.
DatabaseTestBase::addSampleData in core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php
Sets up our sample data.
DatabaseTestBase::setUp in core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php
datetime_range-filter-values.php in core/modules/datetime_range/tests/fixtures/update/datetime_range-filter-values.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2786577.
DbCommandBase::getDatabaseConnection in core/lib/Drupal/Core/Command/DbCommandBase.php
Parse input options decide on a database.
DbDumpTest::setUp in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
DbDumpTest::testScriptLoad in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
Test loading the script back into the database.
DbImportCommandTest::testDbImportCommand in core/modules/system/tests/src/Kernel/Scripts/DbImportCommandTest.php
Test the command directly.
dblog-2851293.php in core/modules/dblog/tests/fixtures/update/dblog-2851293.php
Test fixture.
DbLog::log in core/modules/dblog/src/Logger/DbLog.php
DbLogTest::runCron in core/modules/dblog/tests/src/Kernel/DbLogTest.php
Runs cron and returns number of new log entries.
DbLogTest::testDBLogAddAndClear in core/modules/dblog/tests/src/Functional/DbLogTest.php
Tests the addition and clearing of log events through the admin interface.
DbLogTest::testLogEventPageWithMissingInfo in core/modules/dblog/tests/src/Functional/DbLogTest.php
Test individual log event page with missing log attributes.
drupal-8.4.0-content_moderation_installed.php in core/modules/content_moderation/tests/fixtures/update/drupal-8.4.0-content_moderation_installed.php
Content moderation installed in the standard profile at 8.4.0.
drupal-8.4.0-media_installed.php in core/modules/media/tests/fixtures/update/drupal-8.4.0-media_installed.php
Contains database additions to drupal-8.4.0.bare.standard.php.gz for testing the upgrade paths of media module.
drupal-8.5.0-content_moderation_installed.php in core/modules/content_moderation/tests/fixtures/update/drupal-8.5.0-content_moderation_installed.php
Content moderation installed in the standard profile at 8.5.0.
drupal-8.6.0-workspaces_installed.php in core/modules/workspaces/tests/fixtures/update/drupal-8.6.0-workspaces_installed.php
Contains database additions to drupal-8.filled.standard.php.gz for testing the upgrade paths of the Workspaces module.
drupal-8.7.2-media_library_installed.php in core/modules/media_library/tests/fixtures/update/drupal-8.7.2-media_library_installed.php
Contains database additions to drupal-8.4.0-media_installed.php for testing the upgrade paths of the media library module from Drupal 8.7.2.
drupal-8.8.x-media_library-update-views-classnames-3049943.php in core/modules/media_library/tests/fixtures/update/drupal-8.8.x-media_library-update-views-classnames-3049943.php
Contains database additions to drupal-8.4.0-media_installed.php for testing the addition of BEM classes to the media library views config.
drupal-8.action-3022401.php in core/modules/action/tests/fixtures/update/drupal-8.action-3022401.php
Contains database additions to for testing upgrade path for action settings.
drupal-8.actions-2815379.php in core/modules/system/tests/fixtures/update/drupal-8.actions-2815379.php
Contains database additions to for testing upgrade path for action plugins.
drupal-8.admin_theme_0.php in core/modules/system/tests/fixtures/update/drupal-8.admin_theme_0.php
Test fixture.
drupal-8.block-content-uninstall.php in core/modules/system/tests/fixtures/update/drupal-8.block-content-uninstall.php
Partial database to mimic the uninstallation of the block_content module.
drupal-8.block-context-manager-2354889.php in core/modules/system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2354889.
drupal-8.block-test-enabled-missing-schema.php in core/modules/block/tests/fixtures/update/drupal-8.block-test-enabled-missing-schema.php
Partial database to mimic the installation of the block_test module.
drupal-8.block-test-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.block-test-enabled.php
Partial database to mimic the installation of the block_test module.
drupal-8.broken_routing.php in core/modules/system/tests/fixtures/update/drupal-8.broken_routing.php
Test fixture.
drupal-8.config-override-fix.php in core/modules/system/tests/fixtures/update/drupal-8.config-override-fix.php
Partial database to create broken config overrides.
drupal-8.convert-path-aliases-to-entities-2336597.php in core/modules/system/tests/fixtures/update/drupal-8.convert-path-aliases-to-entities-2336597.php
Contains database additions to drupal-8.filled.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2336597.
drupal-8.default-cms-entity-id-2941736.php in core/modules/content_moderation/tests/fixtures/update/drupal-8.default-cms-entity-id-2941736.php
Content for the update path test in #2941736.
drupal-8.editor-editor_update_8001.php in core/modules/system/tests/fixtures/update/drupal-8.editor-editor_update_8001.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of editor_update_8001().
drupal-8.email_widget_size_setting-2578741.php in core/modules/field/tests/fixtures/update/drupal-8.email_widget_size_setting-2578741.php
Contains SQL necessary to add a new component for an email field/widget to the 'node.article.default' entity form display.
drupal-8.empty-comment-fields.3052147.php in core/modules/comment/tests/fixtures/update/drupal-8.empty-comment-fields.3052147.php
Contains database additions to drupal-8-rc1.filled.standard.php.gz for the upgrade path in https://www.drupal.org/project/drupal/issues/2885809.
drupal-8.entity-data-revision-metadata-fields-2248983.php in core/modules/system/tests/fixtures/update/drupal-8.entity-data-revision-metadata-fields-2248983.php
Contains database additions to drupal-8.2.1.bare.standard_with_entity_test_enabled.php.gz for testing the upgrade path of https://www.drupal.org/node/2248983.
drupal-8.entity-form-display-dependencies-2915383.php in core/modules/content_moderation/tests/fixtures/update/drupal-8.entity-form-display-dependencies-2915383.php
Content for the update path test in #2915383.
drupal-8.entity-test-schema-converter-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.entity-test-schema-converter-enabled.php
drupal-8.field-schema-data-uninstall-2573667.php in core/modules/system/tests/fixtures/update/drupal-8.field-schema-data-uninstall-2573667.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2573667.
drupal-8.file_formatters_update_2677990.php in core/modules/file/tests/fixtures/update/drupal-8.file_formatters_update_2677990.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2677990.
drupal-8.hal-hal_update_8301.php in core/modules/hal/tests/fixtures/update/drupal-8.hal-hal_update_8301.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of hal_update_8301().
drupal-8.jsonapi-jsonapi_update_8701.php in core/modules/jsonapi/tests/fixtures/update/drupal-8.jsonapi-jsonapi_update_8701.php
Contains database additions for testing jsonapi_update_8701()'s update path.
drupal-8.language-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.language-enabled.php
drupal-8.local-actions-tasks-into-blocks-507488.php in core/modules/system/tests/fixtures/update/drupal-8.local-actions-tasks-into-blocks-507488.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/507488.
drupal-8.media-add-additional-permissions.php in core/modules/media/tests/fixtures/update/drupal-8.media-add-additional-permissions.php
Contains database additions to drupal-8.4.0.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2862422.
drupal-8.media_library-update-form-view-displays-2988433.php in core/modules/media_library/tests/fixtures/update/drupal-8.media_library-update-form-view-displays-2988433.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade paths of the media library module form and view displays.
drupal-8.media_library-update-view-table-display-2981044.php in core/modules/media_library/tests/fixtures/update/drupal-8.media_library-update-view-table-display-2981044.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade paths of the media library module view.
drupal-8.media_library-update-widget-view-3020716.php in core/modules/media_library/tests/fixtures/update/drupal-8.media_library-update-widget-view-3020716.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade paths of the media library module widget view.
drupal-8.menu-link-content-null-data-3056543.php in core/modules/menu_link_content/tests/fixtures/update/drupal-8.menu-link-content-null-data-3056543.php
Contains database additions to drupal-8.filled.standard.php.gz for testing the upgrade path of https://www.drupal.org/project/drupal/issues/3056543.
drupal-8.migrate-drupal-multilingual-enabled.php in core/modules/migrate_drupal/tests/fixtures/drupal-8.migrate-drupal-multilingual-enabled.php
drupal-8.page-title-into-block-2476947.php in core/modules/system/tests/fixtures/update/drupal-8.page-title-into-block-2476947.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2476947.
drupal-8.remove_handler_submit_setting-2715589.php in core/modules/field/tests/fixtures/update/drupal-8.remove_handler_submit_setting-2715589.php
Provides necessary database additions for testing field_post_update_remove_handler_submit_setting()
drupal-8.responsive_image-enabled.php in core/modules/responsive_image/tests/fixtures/update/drupal-8.responsive_image-enabled.php
drupal-8.rest-hal_update_8301.php in core/modules/hal/tests/fixtures/update/drupal-8.rest-hal_update_8301.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of hal_update_8301().
drupal-8.rest-rest_post_update_resource_granularity.php in core/modules/rest/tests/fixtures/update/drupal-8.rest-rest_post_update_resource_granularity.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of rest_post_update_resource_granularity().
drupal-8.rest-rest_update_8201.php in core/modules/rest/tests/fixtures/update/drupal-8.rest-rest_update_8201.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of rest_update_8201().
drupal-8.rest-rest_update_8203.php in core/modules/rest/tests/fixtures/update/drupal-8.rest-rest_update_8203.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of rest_update_8203().
drupal-8.seven-secondary-local-tasks-block-2569529.php in core/modules/system/tests/fixtures/update/drupal-8.seven-secondary-local-tasks-block-2569529.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/507488.
drupal-8.site-branding-into-block-2005546.php in core/modules/system/tests/fixtures/update/drupal-8.site-branding-into-block-2005546.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2005546.
drupal-8.stable-base-theme-2575421.php in core/modules/system/tests/fixtures/update/drupal-8.stable-base-theme-2575421.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2575421.
drupal-8.taxonomy-parent-multilingual-3066439.php in core/modules/system/tests/fixtures/update/drupal-8.taxonomy-parent-multilingual-3066439.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2455125.
drupal-8.taxonomy-term-null-data-3056543.php in core/modules/taxonomy/tests/fixtures/update/drupal-8.taxonomy-term-null-data-3056543.php
Contains database additions to drupal-8.filled.standard.php.gz for testing the upgrade path of https://www.drupal.org/project/drupal/issues/3056543.
drupal-8.taxonomy-term-publishing-status-ui-2899923.php in core/modules/taxonomy/tests/fixtures/update/drupal-8.taxonomy-term-publishing-status-ui-2899923.php
Contains database additions to drupal-8.filled.standard.php.gz for testing the upgrade path of https://www.drupal.org/project/drupal/issues/2899923.
drupal-8.test-config-init.php in core/modules/system/tests/fixtures/update/drupal-8.test-config-init.php
drupal-8.theme-dependencies-in-module-key-2904550.php in core/modules/layout_discovery/tests/fixtures/update/drupal-8.theme-dependencies-in-module-key-2904550.php
Contains database additions to drupal-8.4.0.bare.standard.php.gz for testing upgrade path of https://www.drupal.org/project/drupal/issues/2904550.
drupal-8.update-test-block-disabled-2513534.php in core/modules/system/tests/fixtures/update/drupal-8.update-test-block-disabled-2513534.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2513534.
drupal-8.update-test-schema-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.update-test-schema-enabled.php
Partial database to mimic the installation of the update_test_schema module.
drupal-8.update-test-semver-update-n-enabled.php in core/modules/system/tests/fixtures/update/drupal-8.update-test-semver-update-n-enabled.php
Database to mimic the installation of the update_test_semver_update_n module.
drupal-8.update_deleted_field_definitions-2931436.php in core/modules/field/tests/fixtures/update/drupal-8.update_deleted_field_definitions-2931436.php
Contains SQL necessary to add a deleted field to the node entity type.
drupal-8.user-email-token-2587275.php in core/modules/user/tests/fixtures/update/drupal-8.user-email-token-2587275.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2587275.
drupal-8.views-entity-views-data-2455125.php in core/modules/system/tests/fixtures/update/drupal-8.views-entity-views-data-2455125.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2455125.
drupal-8.views-entity-views-data-2846614.php in core/modules/system/tests/fixtures/update/drupal-8.views-entity-views-data-2846614.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2455125.
drupal-8.views-revision-metadata-fields-2248983.php in core/modules/system/tests/fixtures/update/drupal-8.views-revision-metadata-fields-2248983.php
Contains database additions to drupal-8.2.1.bare.standard_with_entity_test_enabled.php.gz for testing the upgrade path of https://www.drupal.org/node/2248983.
drupal-8.views-taxonomy-parent-2543726.php in core/modules/system/tests/fixtures/update/drupal-8.views-taxonomy-parent-2543726.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2455125.
drupal-8.views-taxonomy-term-publishing-status-2981887.php in core/modules/taxonomy/tests/fixtures/update/drupal-8.views-taxonomy-term-publishing-status-2981887.php
Contains database additions to drupal-8.filled.standard.php.gz for testing the upgrade path of https://www.drupal.org/project/drupal/issues/2981887.
drupal-8.views_block_content-2976334.php in core/modules/block_content/tests/fixtures/update/drupal-8.views_block_content-2976334.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/project/drupal/issues/2976334.
drupal-8.views_entity_reference_plugins-2429191.php in core/modules/field/tests/fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2429191.
drupal-8.without_automated_cron.php in core/modules/system/tests/fixtures/update/drupal-8.without_automated_cron.php
Test fixture.
drupal6.php in core/modules/migrate_drupal/tests/fixtures/drupal6.php
A database agnostic dump for testing purposes.
drupal7.php in core/modules/migrate_drupal/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.
drupal8.views-image-style-dependency-2649914.php in core/modules/system/tests/fixtures/update/drupal8.views-image-style-dependency-2649914.php
Contains database additions to drupal-8-rc1.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2649914.
duplicate-field-handler.php in core/modules/views/tests/fixtures/update/duplicate-field-handler.php
Test fixture.
entity-link-output-url.php in core/modules/views/tests/fixtures/update/entity-link-output-url.php
Test fixture.
EntityApiTest::assertCRUD in core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php
Executes a test set for a defined entity type and user.
EntityQueryTest::testToString in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
Tests __toString().
EntityUpdateInitialTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php
EnvironmentCleanerFactory::createCleaner in core/modules/simpletest/src/EnvironmentCleanerFactory.php
Factory method to create the environment cleaner service.
exposed-filter-blocks.php in core/modules/views/tests/fixtures/update/exposed-filter-blocks.php
Test fixture.
FieldSqlStorageTest::testFieldLoad in core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
Tests field loading works correctly by inserting directly in the tables.
FieldSqlStorageTest::testFieldWrite in core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
Tests field saving works correctly by reading directly from the tables.
FileFieldRevisionTest::testRevisions in core/modules/file/tests/src/Functional/FileFieldRevisionTest.php
Tests creating multiple revisions of a node and managing attached files.
filter-placeholder-text.php in core/modules/views/tests/fixtures/update/filter-placeholder-text.php
Test fixture.
GarbageCollectionTest::testGarbageCollection in core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php
Tests garbage collection.
HistoryTimestampTest::testHandlers in core/modules/history/tests/src/Kernel/Views/HistoryTimestampTest.php
Tests the handlers.
IpAddressBlockingTest::testIPAddressValidation in core/modules/ban/tests/src/Functional/IpAddressBlockingTest.php
Tests various user input to confirm correct validation and saving of data.
KernelTestBase::setUp in core/modules/simpletest/src/KernelTestBase.php
Performs setup tasks before each individual test method is run.
KernelTestBaseTest::run in core/modules/simpletest/src/Tests/KernelTestBaseTest.php
Run all tests in this class.
KernelTestBaseTest::tearDown in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
LargeQueryTest::testMaxAllowedPacketQueryTruncating in core/tests/Drupal/KernelTests/Core/Database/LargeQueryTest.php
Tests truncation of messages when max_allowed_packet exception occurs.
layout-builder-enable.php in core/modules/layout_builder/tests/fixtures/update/layout-builder-enable.php
Test fixture.
layout-builder-extra.php in core/modules/layout_builder/tests/fixtures/update/layout-builder-extra.php
Test fixture.
layout-builder-field-block.php in core/modules/layout_builder/tests/fixtures/update/layout-builder-field-block.php
Test fixture.
layout-builder-field-schema.php in core/modules/layout_builder/tests/fixtures/update/layout-builder-field-schema.php
Test fixture.
layout-builder-permissions.php in core/modules/layout_builder/tests/fixtures/update/layout-builder-permissions.php
Adds the 'configure any layout' permission to the authenticated user.
layout-builder-translation.php in core/modules/layout_builder/tests/fixtures/update/layout-builder-translation.php
Test fixture.
layout-builder.php in core/modules/layout_builder/tests/fixtures/update/layout-builder.php
Test fixture.
legacy-bulk-form-update.php in core/modules/views/tests/fixtures/update/legacy-bulk-form-update.php
Test fixture.
limit-exposed-operators.php in core/modules/views/tests/fixtures/update/limit-exposed-operators.php
Test fixture.
LocalePluralFormatTest::testPluralEditExport in core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php
Tests plural editing and export functionality.
LocaleUpdateBase::setCurrentTranslations in core/modules/locale/tests/src/Functional/LocaleUpdateBase.php
Setup existing translations in the database and set up the status of existing translations.
LocaleUpdateTest::testEnableLanguage in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests automatic translation import when a language is added.
MatcherDumperTest::testAddAdditionalRoutes in core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php
Confirms that we can add routes to the dumper when it already has some.
MatcherDumperTest::testAddRoutes in core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php
Confirms that we can add routes to the dumper.
MatcherDumperTest::testCreate in core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php
Confirms that the dumper can be instantiated successfully.
MatcherDumperTest::testDump in core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php
Confirm that we can dump a route collection to the database.
MatcherDumperTest::testMenuMasksGeneration in core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php
Tests the determination of the masks generation.
MigrateFieldInstanceLabelDescriptionTest::migrateDumpAlter in core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php
Allows tests to alter dumps after they have loaded.
MigrateFieldInstanceLabelDescriptionTest::migrateDumpAlter in core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldInstanceLabelDescriptionTest.php
Allows tests to alter dumps after they have loaded.
MigrateFileTest::migrateDumpAlter in core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php
Allows tests to alter dumps after they have loaded.
MigrateFilterFormatTest::migrateDumpAlter in core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterFormatTest.php
Allows tests to alter dumps after they have loaded.
MigrateLanguageContentCommentSettingsNoEntityTranslationTest::migrateDumpAlter in core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentCommentSettingsNoEntityTranslationTest.php
Allows tests to alter dumps after they have loaded.
MigrateNodeTest::rerunMigration in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php
Execute the migration a second time.
MigrateTestBase::setUp in core/modules/migrate/tests/src/Kernel/MigrateTestBase.php
MigrateTrackerNodeTest::testMigrateTrackerNode in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerNodeTest.php
Tests migration of tracker node table.
MigrateTrackerUserTest::testMigrateTrackerUser in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerUserTest.php
Tests migration of tracker user table.
MigrateUpgradeTestBase::setUp in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php
MigrationConfigurationTrait::getConnection in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
Gets the database connection for the source Drupal database.
ModuleTestBase::assertTableCount in core/modules/system/src/Tests/Module/ModuleTestBase.php
Assert there are tables that begin with the specified base table name.
ModuleTestBase::assertTableCount in core/modules/system/tests/src/Functional/Module/ModuleTestBase.php
Assert there are tables that begin with the specified base table name.
NodeAccessBaseTableTest::testNodeAccessBasic in core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php
Tests the "private" node access functionality.
NodeAccessLanguageAwareCombinationTest::testNodeAccessLanguageAwareCombination in core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php
Tests node access and node access queries with multiple node languages.
NodeAccessLanguageAwareTest::testNodeAccessLanguageAware in core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php
Tests node access and node access queries with multiple node languages.
NodeAccessLanguageTest::testNodeAccessQueryTag in core/modules/node/tests/src/Kernel/NodeAccessLanguageTest.php
Tests select queries with a 'node_access' tag and langcode metadata.
NodeAccessRecordsTest::testNodeAccessRecords in core/modules/node/tests/src/Kernel/NodeAccessRecordsTest.php
Creates a node and tests the creation of node access rules.
NodeAdminTest::testContentAdminSort in core/modules/node/tests/src/Functional/NodeAdminTest.php
Tests that the table sorting works on the content admin pages.
NodeBlockFunctionalTest::testRecentNodeBlock in core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
Tests the recent comments block.
NodeQueryAlterTest::testNodeQueryAlterOverride in core/modules/node/tests/src/Functional/NodeQueryAlterTest.php
Tests 'node_access' query alter override.
NodeRevisionsAllTest::testRevisions in core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
Checks node revision operations.
NodeRevisionsTest::testRevisions in core/modules/node/tests/src/Functional/NodeRevisionsTest.php
Checks node revision related operations.
NoPreExistingSchemaUpdateTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
PathAliasTest::testAdminAlias in core/modules/path/tests/src/Functional/PathAliasTest.php
Tests alias functionality through the admin interfaces.
PathAliasTest::testNodeAlias in core/modules/path/tests/src/Functional/PathAliasTest.php
Tests alias functionality through the node interfaces.
PrefixInfoTest::testGetPrefixInfo in core/tests/Drupal/KernelTests/Core/Database/PrefixInfoTest.php
Tests that DatabaseSchema::getPrefixInfo() returns the right database.
Query::__wakeup in core/lib/Drupal/Core/Database/Query/Query.php
Implements the magic __wakeup function to reconnect to the database.
QueueTest::testSystemQueue in core/tests/Drupal/KernelTests/Core/Queue/QueueTest.php
Tests the System queue.
RelationshipJoinInTest::testRelationshipInQuery in core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinInTest.php
Tests the query result of a view with a relationship with an IN condition.
RelationshipTest::testRelationshipQuery in core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php
Tests the query result of a view with a relationship.
RelationshipTest::testRelationshipRender in core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php
Tests rendering of a view with a relationship.
ReplicaKillSwitchTest::testSystemInitIgnoresSecondaries in core/tests/Drupal/KernelTests/Core/Database/ReplicaKillSwitchTest.php
Tests database.replica_kill_switch service.
rest-export-with-authentication-correction.php in core/modules/rest/tests/fixtures/update/rest-export-with-authentication-correction.php
Test fixture for \Drupal\Tests\rest\Functional\Update\RestExportAuthCorrectionUpdateTest.
rest-export-with-authentication.php in core/modules/rest/tests/fixtures/update/rest-export-with-authentication.php
Test fixture for \Drupal\rest\Tests\Update\RestExportAuthUpdateTest.
RevisionableContentEntityBaseTest::assertItemsTableCount in core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php
Asserts the amount of items on entity related tables.
RouteProviderTest::tearDown in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
RouteProviderTest::testCandidateOutlines in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that the correct candidate outlines are generated.
RouteProviderTest::testDuplicateRoutePaths in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that we find all routes with the same path.
RouteProviderTest::testEmptyPathCandidatesOutlines in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Don't fail when given an empty path.
RouteProviderTest::testExactPathMatch in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that we can find routes with the exact incoming path.
RouteProviderTest::testGetRoutesByPatternWithLongPatterns in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Ensures that the routing system is capable of extreme long patterns.
RouteProviderTest::testGetRoutesPaged in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Tests getRoutesPaged().
RouteProviderTest::testMixedCasePaths in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that we find routes using a case-insensitive path match.
RouteProviderTest::testOutlinePathMatch in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaults in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision2 in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision3 in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that we can find multiple routes that match the request equally.
RouteProviderTest::testOutlinePathMatchTrailingSlash in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that a trailing slash on the request does not result in a 404.
RouteProviderTest::testOutlinePathMatchZero in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Tests a route with a 0 as value.
RouteProviderTest::testOutlinePathNoMatch in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Confirms that an exception is thrown when no matching path is found.
RouteProviderTest::testRouteByName in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Test RouteProvider::getRouteByName() and RouteProvider::getRoutesByNames().
RouteProviderTest::testRouteCaching in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Tests that route caching works.
SchemaTest::setUp in core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
SearchMatchTest::_testQueries in core/modules/search/tests/src/Kernel/SearchMatchTest.php
Run predefine queries looking for indexed terms.
SearchMultilingualEntityTest::assertDatabaseCounts in core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php
Checks actual database counts of items in the search index.
SearchMultilingualEntityTest::testMultilingualSearch in core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php
Tests the indexing throttle and search results with multilingual nodes.
SearchNodeUpdateAndDeletionTest::testSearchIndexUpdateOnNodeDeletion in core/modules/search/tests/src/Functional/SearchNodeUpdateAndDeletionTest.php
Tests that the search index info is updated when a node is deleted.
section-dependencies.php in core/modules/layout_builder/tests/fixtures/update/section-dependencies.php
Test fixture.
SelectPagerDefaultTest::testElementNumbers in core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php
Confirms that every pager gets a valid, non-overlapping element ID.
SelectPagerDefaultTest::testInnerPagerQuery in core/modules/system/tests/src/Functional/Database/SelectPagerDefaultTest.php
Confirms that a pager query results with an inner pager query are valid.
SelectTest::testVulnerableComment in core/tests/Drupal/KernelTests/Core/Database/SelectTest.php
Tests query COMMENT system against vulnerabilities.
SessionTest::testSessionWrite in core/modules/system/tests/src/Functional/Session/SessionTest.php
Test that sessions are only saved when necessary.
SqlBase::setUpDatabase in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
Gets a connection to the referenced database.
StatisticsAdminTest::testDeleteNode in core/modules/statistics/tests/src/Functional/StatisticsAdminTest.php
Tests that when a node is deleted, the node counter is deleted too.
table-cache-max-age.php in core/modules/views/tests/fixtures/update/table-cache-max-age.php
Test fixture.
Tasks::checkBinaryOutput in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check Binary Output.
Tasks::checkStandardConformingStrings in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Ensures standard_conforming_strings setting is 'on'.
Tasks::connect in core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php
Check if we can connect to the database.
Tasks::connect in core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
Check if we can connect to the database.
Tasks::connect in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Check if we can connect to the database.
Tasks::connect in core/lib/Drupal/Core/Database/Install/Tasks.php
Check if we can connect to the database.
Tasks::initializeDatabase in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
Make PostgreSQL Drupal friendly.
TaxonomyQueryAlterTest::testTaxonomyQueryAlter in core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php
Tests that appropriate tags are added when querying the database.
TemporaryQueryTest::testTemporaryQuery in core/modules/system/tests/src/Functional/Database/TemporaryQueryTest.php
Confirms that temporary tables work and are limited to one request.
TempStoreDatabaseTest::testSharedTempStore in core/tests/Drupal/KernelTests/Core/TempStore/TempStoreDatabaseTest.php
Tests the SharedTempStore API.
TempStoreDatabaseTest::testUserTempStore in core/modules/user/tests/src/Kernel/TempStoreDatabaseTest.php
Tests the UserTempStore API.
TermIndexTest::testTaxonomyIndex in core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
Tests that the taxonomy index is maintained properly.
TestDatabase::getConnection in core/lib/Drupal/Core/Test/TestDatabase.php
Returns the database connection to the site running Simpletest.
TestSiteApplicationTest::testInstallWithFileWithNoClass in core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
@coversNothing
TestSiteApplicationTest::testInstallWithNonExistingFile in core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
@coversNothing
TestSiteApplicationTest::testInstallWithNonSetupClass in core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
@coversNothing
test_scale_and_crop_add_anchor.php in core/modules/image/tests/fixtures/update/test_scale_and_crop_add_anchor.php
Test fixture.
TrackerTest::testTrackerCronIndexing in core/modules/tracker/tests/src/Functional/TrackerTest.php
Tests that existing nodes are indexed by cron.
UpdatePathTestBase::runDbTasks in core/modules/system/src/Tests/Update/UpdatePathTestBase.php
Runs the install database tasks for the driver used by the test runner.
UpdatePathTestBaseTest::testUpdateHookN in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
Test that updates are properly run.
UpdatePostUpdateFailingTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php
UpdatePostUpdateTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php
UpdateRemovedPostUpdateTest::setUp in core/modules/system/tests/src/Functional/UpdateSystem/UpdateRemovedPostUpdateTest.php
UpdateSchemaTest::testUpdateHooks in core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php
Tests that update hooks are properly run.
UpsertTest::testUpsert in core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php
Confirms that we can upsert (update-or-insert) records successfully.
UsageTest::createTempFiles in core/modules/file/tests/src/Kernel/UsageTest.php
Create files for all the possible combinations of age and status.
UsageTest::doTestRemoveUsage in core/modules/file/tests/src/Kernel/UsageTest.php
Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::delete().
UsageTest::testGetUsage in core/modules/file/tests/src/Kernel/UsageTest.php
Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::listUsage().
UserDeleteTest::testUserDeleteMultiple in core/modules/user/tests/src/Kernel/UserDeleteTest.php
Test deleting multiple users.
views-data-table-dependency.php in core/modules/views/tests/fixtures/update/views-data-table-dependency.php
Contains database additions to drupal-8.bare.standard.php.gz for testing views_post_update_views_data_table_dependencies().
ViewUI::renderPreview in core/modules/views_ui/src/ViewUI.php
WarmCacheUpdateFrom8dot6Test::testWithMissingProfile in core/modules/system/tests/src/Functional/Update/WarmCacheUpdateFrom8dot6Test.php
Tests system_update_8601().
_simpletest_run_tests_script_open_browser in core/modules/simpletest/simpletest.module
Display test results from run-tests.sh in a browser.

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