function KernelTestBaseTest::testSetUp

@covers ::setUp

File

core/modules/pgsql/tests/src/Kernel/pgsql/KernelTestBaseTest.php, line 20

Class

KernelTestBaseTest
@coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]

Namespace

Drupal\Tests\pgsql\Kernel\pgsql

Code

public function testSetUp() : void {
  // Ensure that the database tasks have been run during set up.
  $this->assertSame('on', $this->connection
    ->query("SHOW standard_conforming_strings")
    ->fetchField());
  $this->assertSame('escape', $this->connection
    ->query("SHOW bytea_output")
    ->fetchField());
}

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