function TimestampSchemaTest::testTimestampSchema

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php \Drupal\KernelTests\Core\Datetime\TimestampSchemaTest::testTimestampSchema()
  2. 10 core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php \Drupal\KernelTests\Core\Datetime\TimestampSchemaTest::testTimestampSchema()
  3. 11.x core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php \Drupal\KernelTests\Core\Datetime\TimestampSchemaTest::testTimestampSchema()

Tests if the timestamp field schema is validated.

File

core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php, line 35

Class

TimestampSchemaTest
Tests timestamp schema.

Namespace

Drupal\KernelTests\Core\Datetime

Code

public function testTimestampSchema() {
    $this->installConfig([
        'field_timestamp_test',
    ]);
    // Make at least an assertion.
    $this->assertTrue(TRUE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.