function TimestampSchemaTest::testTimestampSchema

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php \Drupal\KernelTests\Core\Datetime\TimestampSchemaTest::testTimestampSchema()
  2. 8.9.x 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 37

Class

TimestampSchemaTest
Tests timestamp schema.

Namespace

Drupal\KernelTests\Core\Datetime

Code

public function testTimestampSchema() : void {
  $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.