You are here

protected property DatabaseTestBase::$connection in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php \Drupal\KernelTests\Core\Database\DatabaseTestBase::connection
  2. 10 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;