function TestRunTest::setUp
Same name and namespace in other branches
- 10 core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php \Drupal\KernelTests\Core\Test\TestRunTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Test/ TestRunTest.php, line 40
Class
- TestRunTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Test%21TestRun.php/class/TestRun/11.x" title="Implements an object that tracks execution of a test run." class="local">\Drupal\Core\Test\TestRun</a> @group Test
Namespace
Drupal\KernelTests\Core\TestCode
public function setUp() : void {
parent::setUp();
$this->connection = Database::getConnection();
$this->testRunResultsStorage = new SimpletestTestRunResultsStorage($this->connection);
$this->testRunResultsStorage
->buildTestingResultsEnvironment(FALSE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.