function ConnectionTest::testMakeSequenceNameDeprecation
Same name in this branch
- 10 core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php \Drupal\Tests\mysql\Kernel\mysql\ConnectionTest::testMakeSequenceNameDeprecation()
Tests deprecation of ::makeSequenceName().
@group legacy
File
-
core/
modules/ sqlite/ tests/ src/ Kernel/ sqlite/ ConnectionTest.php, line 21
Class
- ConnectionTest
- SQLite-specific connection tests.
Namespace
Drupal\Tests\sqlite\Kernel\sqliteCode
public function testMakeSequenceNameDeprecation() : void {
$this->expectDeprecation("Drupal\\Core\\Database\\Connection::makeSequenceName() is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3377046");
$this->assertIsString($this->connection
->makeSequenceName('foo', 'bar'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.