You are here

public function SqliteDateSqlTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php \Drupal\Tests\views\Unit\Plugin\views\query\SqliteDateSqlTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php, line 28

Class

SqliteDateSqlTest
Tests the MySQL-specific date query handler.

Namespace

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

Code

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