TestRunTest::$connection

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php \Drupal\KernelTests\Core\Test\TestRunTest::connection
  2. 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: connection

File

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

Class

TestRunTest
Tests Drupal\Core\Test\TestRun.

Namespace

Drupal\KernelTests\Core\Test

Code

protected Connection $connection;

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