You are here

protected function PostgresqlSchemaTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlSchemaTest.php \Drupal\Tests\Core\Database\Driver\pgsql\PostgresqlSchemaTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlSchemaTest.php, line 28
Contains \Drupal\Tests\Core\Database\Driver\pgsql\PostgresqlSchemaTest.

Class

PostgresqlSchemaTest
@coversDefaultClass \Drupal\Core\Database\Driver\pgsql\Schema @group Database

Namespace

Drupal\Tests\Core\Database\Driver\pgsql

Code

protected function setUp() {
  parent::setUp();
  $this->connection = $this
    ->getMockBuilder('\\Drupal\\Core\\Database\\Driver\\pgsql\\Connection')
    ->disableOriginalConstructor()
    ->getMock();
}