function DriverSpecificSchemaTestBase::assertCollation

Same name and namespace in other branches
  1. 10 core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificSchemaTestBase::assertCollation()

Asserts that fields have the correct collation, if supported.

1 call to DriverSpecificSchemaTestBase::assertCollation()
DriverSpecificSchemaTestBase::testSchema in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
Tests database interactions.
1 method overrides DriverSpecificSchemaTestBase::assertCollation()
SchemaTest::assertCollation in core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php
Asserts that fields have the correct collation, if supported.

File

core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php, line 126

Class

DriverSpecificSchemaTestBase
Tests table creation and modification via the schema API.

Namespace

Drupal\KernelTests\Core\Database

Code

protected function assertCollation() : 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.