You are here

public function PostgresqlConnectionTest::testEscapeTable in Drupal 8

@covers ::escapeTable @dataProvider providerEscapeTables

File

core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php, line 93

Class

PostgresqlConnectionTest
@coversDefaultClass \Drupal\Core\Database\Driver\pgsql\Connection @group Database

Namespace

Drupal\Tests\Core\Database\Driver\pgsql

Code

public function testEscapeTable($expected, $name) {
  $pgsql_connection = new Connection($this->mockPdo, []);
  $this
    ->assertEquals($expected, $pgsql_connection
    ->escapeTable($name));
}