function PostgresqlDateSqlTest::setUp

Overrides UnitTestCase::setUp

File

core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php, line 30

Class

PostgresqlDateSqlTest
Tests the PostgreSQL-specific date query handler.

Namespace

Drupal\Tests\views\Unit\Plugin\views\query

Code

protected function setUp() : void {
  parent::setUp();
  $this->database = $this->prophesize(Connection::class)
    ->reveal();
}

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