function ConnectionTest::testIdentifierQuotesDeprecation

@covers ::__construct @group legacy

File

core/tests/Drupal/Tests/Core/Database/ConnectionTest.php, line 612

Class

ConnectionTest
Tests the Connection class.

Namespace

Drupal\Tests\Core\Database

Code

public function testIdentifierQuotesDeprecation() {
    $this->expectDeprecation('In drupal:10.0.0 not setting the $identifierQuotes property in the concrete Connection class will result in an RuntimeException. See https://www.drupal.org/node/2986894');
    $mock_pdo = $this->createMock(StubPDO::class);
    new StubConnection($mock_pdo, [], NULL);
}

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