7 calls to Database::renameConnection() in Drupal 8
- KernelTestBase::getDatabaseConnectionInfo in core/tests/ Drupal/ KernelTests/ KernelTestBase.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.
- TestBase::restoreEnvironment in core/modules/ simpletest/ src/ TestBase.php 
- Cleans up the test environment and restores the original environment.
- TestSetupTrait::changeDatabasePrefix in core/lib/ Drupal/ Core/ Test/ TestSetupTrait.php 
- Changes the database connection to the prefixed one.
