function TestRunTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Test/ TestRunTest.php, line 40
Class
- TestRunTest
- @coversDefaultClass \Drupal\Core\Test\TestRun[[api-linebreak]] @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.