EnvironmentCleaner::$testDatabase

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Test/EnvironmentCleaner.php \Drupal\Core\Test\EnvironmentCleaner::testDatabase

Connection to the database being used for tests.

Type: \Drupal\Core\Database\Connection

File

core/lib/Drupal/Core/Test/EnvironmentCleaner.php, line 26

Class

EnvironmentCleaner
Helper class for cleaning test environments.

Namespace

Drupal\Core\Test

Code

protected $testDatabase;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.