function DriverSpecificSchemaTestBase::checkSequenceRenaming
Same name in other branches
- 10 core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificSchemaTestBase::checkSequenceRenaming()
Check that the ID sequence gets renamed when the table is renamed.
Parameters
string $tableName: The table to rename.
1 call to DriverSpecificSchemaTestBase::checkSequenceRenaming()
- DriverSpecificSchemaTestBase::testSchema in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificSchemaTestBase.php - Tests database interactions.
1 method overrides DriverSpecificSchemaTestBase::checkSequenceRenaming()
- SchemaTest::checkSequenceRenaming in core/
modules/ pgsql/ tests/ src/ Kernel/ pgsql/ SchemaTest.php
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificSchemaTestBase.php, line 136
Class
- DriverSpecificSchemaTestBase
- Tests table creation and modification via the schema API.
Namespace
Drupal\KernelTests\Core\DatabaseCode
protected function checkSequenceRenaming(string $tableName) : void {
// Driver specific tests should implement this when appropriate.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.