function DriverSpecificSchemaTestBase::checkSchemaComment
Checks that a table or column comment matches a given description.
Parameters
string $description: The asserted description.
string $table: The table to test.
string|null $column: Optional column to test.
1 call to DriverSpecificSchemaTestBase::checkSchemaComment()
- DriverSpecificSchemaTestBase::testSchema in core/tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificSchemaTestBase.php 
- Tests database interactions.
3 methods override DriverSpecificSchemaTestBase::checkSchemaComment()
- SchemaTest::checkSchemaComment in core/modules/ sqlite/ tests/ src/ Kernel/ sqlite/ SchemaTest.php 
- Checks that a table or column comment matches a given description.
- SchemaTest::checkSchemaComment in core/modules/ mysql/ tests/ src/ Kernel/ mysql/ SchemaTest.php 
- Checks that a table or column comment matches a given description.
- SchemaTest::checkSchemaComment in core/modules/ pgsql/ tests/ src/ Kernel/ pgsql/ SchemaTest.php 
- Checks that a table or column comment matches a given description.
File
- 
              core/tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificSchemaTestBase.php, line 56 
Class
- DriverSpecificSchemaTestBase
- Tests table creation and modification via the schema API.
Namespace
Drupal\KernelTests\Core\DatabaseCode
abstract public function checkSchemaComment(string $description, string $table, ?string $column = NULL) : void;Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
