15 calls to Database::closeConnection() in Drupal 10
- ConnectionFailureTest::testConnectionFailureLogging in core/
modules/ dblog/ tests/ src/ Kernel/ ConnectionFailureTest.php - Tests logging of connection failures.
- ConnectionTest::testConnectionClosing in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the closing of a database connection.
- 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.
- LargeQueryTest::testMaxAllowedPacketQueryTruncating in core/
tests/ Drupal/ KernelTests/ Core/ Database/ LargeQueryTest.php - Tests truncation of messages when max_allowed_packet exception occurs.
- NextIdTest::testDbNextIdClosedConnection in core/
tests/ Drupal/ KernelTests/ Core/ Database/ NextIdTest.php - Tests that sequences table clear up works when a connection is closed.
- SqlQueryTest::testGetConnection in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ SqlQueryTest.php - Tests the method \Drupal\views\Plugin\views\query\Sql::getConnection().
- Tasks::checkBinaryOutput in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Check Binary Output.
- Tasks::checkStandardConformingStrings in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Ensures standard_conforming_strings setting is 'on'.
- Tasks::connect in core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Install/ Tasks.php - Checks if we can connect to the database.
- Tasks::connect in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Install/ Tasks.php - Checks if we can connect to the database.
- UpdatePathTestTrait::runUpdates in core/
tests/ Drupal/ Tests/ UpdatePathTestTrait.php - Helper function to run pending database updates.