function DatabaseEventsTest::setUp
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ DatabaseEventsTest.php, line 35
Class
Namespace
Drupal\Tests\Core\DatabaseCode
protected function setUp() : void {
parent::setUp();
$this->connection = new StubConnection($this->createMock(StubPDO::class), []);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.