public function ConnectionTest::testIdentifierQuotesDeprecation in Drupal 9
@covers ::__construct @group legacy
File
- core/
tests/ Drupal/ Tests/ Core/ Database/ ConnectionTest.php, line 614
Class
- ConnectionTest
- Tests the Connection class.
Namespace
Drupal\Tests\Core\DatabaseCode
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);
}