10 calls to Database::renameConnection()
- InstallerIsolationLevelExistingSettingsTest::testInstaller in core/
modules/ mysql/ tests/ src/ Functional/ InstallerIsolationLevelExistingSettingsTest.php - Verifies that isolation_level is not set in the database settings.
- InstallerIsolationLevelNoDatabaseSettingsTest::testInstaller in core/
modules/ mysql/ tests/ src/ Functional/ InstallerIsolationLevelNoDatabaseSettingsTest.php - Verifies that the isolation_level was added to the database settings.
- InstallerNonDefaultDatabaseDriverTest::testInstalled in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerNonDefaultDatabaseDriverTest.php - Confirms that the installation succeeded.
- KernelTestBase::getDatabaseConnectionInfo in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Returns the Database connection info to be used for this test.
- KernelTestBaseDatabaseDriverModuleTest::getDatabaseConnectionInfo in core/
tests/ Drupal/ KernelTests/ KernelTestBaseDatabaseDriverModuleTest.php - Returns the Database connection info to be used for this test.
- MigrateTestBase::cleanupMigrateConnection in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateTestBase.php - Cleans up the test migrate connection.
- MigrateTestBase::createMigrationConnection in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateTestBase.php - Changes the database connection to the prefixed one.
- MigrationPluginListTest::testGetDefinitions in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ MigrationPluginListTest.php - @covers ::getDefinitions
- SqlBaseTest::testConnectionTypes in core/
modules/ migrate/ tests/ src/ Kernel/ SqlBaseTest.php - Tests different connection types.
- TestSetupTrait::changeDatabasePrefix in core/
lib/ Drupal/ Core/ Test/ TestSetupTrait.php - Changes the database connection to the prefixed one.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.