You are here

protected property DatabaseTestBase::$connection in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php \Drupal\KernelTests\Core\Database\DatabaseTestBase::connection

The database connection for testing.

Type: \Drupal\Core\Database\Connection

File

core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php, line 23

Class

DatabaseTestBase
Base class for databases database tests.

Namespace

Drupal\KernelTests\Core\Database

Code

protected $connection;