public function PostgresqlConnectionTest::testEscapeTable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Database/Driver/pgsql/PostgresqlConnectionTest.php \Drupal\Tests\Core\Database\Driver\pgsql\PostgresqlConnectionTest::testEscapeTable()
@covers ::escapeTable @dataProvider providerEscapeTables
File
- core/
tests/ Drupal/ Tests/ Core/ Database/ Driver/ pgsql/ PostgresqlConnectionTest.php, line 92 - Contains \Drupal\Tests\Core\Database\Driver\pgsql\PostgresqlConnectionTest.
Class
- PostgresqlConnectionTest
- @coversDefaultClass \Drupal\Core\Database\Driver\pgsql\Connection @group Database
Namespace
Drupal\Tests\Core\Database\Driver\pgsqlCode
public function testEscapeTable($expected, $name) {
$pgsql_connection = new Connection($this->mockPdo, []);
$this
->assertEquals($expected, $pgsql_connection
->escapeTable($name));
}