function TestRunTest::setUp
Same name 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 \Drupal\Core\Test\TestRun @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.