diff --git a/core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php b/core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php index 1b3598cbd5..22173dae66 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php @@ -68,7 +68,7 @@ public function testDBIndexExists() { */ public function testDBIsActive() { $get_active_db = Database::getConnection()->getKey(); - $this->assertTrue(db_set_active($get_active_db), 'Database connection is active'); + $this->assert(db_set_active($get_active_db), 'Database connection is active'); } }