8 calls to Database::renameConnection() in Drupal 9
- 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.