TestRunTest::$connection

Same name in other branches
  1. 10 core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php \Drupal\KernelTests\Core\Test\TestRunTest::connection

The database connection for testing.

NOTE: this is the connection to the fixture database to allow testing the storage class, NOT the database where actual tests results are stored.

Type: \Drupal\Core\Database\Connection

File

core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php, line 28

Class

TestRunTest
@coversDefaultClass \Drupal\Core\Test\TestRun @group Test

Namespace

Drupal\KernelTests\Core\Test

Code

protected $connection;

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