Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Datetime / TimestampSchemaTest.php
diff --git a/web/core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php b/web/core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php
new file mode 100644 (file)
index 0000000..43fbd42
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+namespace Drupal\KernelTests\Core\Datetime;
+
+use Drupal\KernelTests\KernelTestBase;
+
+/**
+ * Tests timestamp schema.
+ *
+ * @group Common
+ */
+class TimestampSchemaTest extends KernelTestBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  protected static $modules = ['entity_test', 'field', 'field_timestamp_test'];
+
+  /**
+   * Tests if the timestamp field schema is validated.
+   */
+  public function testTimestampSchema() {
+    $this->installConfig(['field_timestamp_test']);
+    // Make at least an assertion.
+    $this->assertTrue(TRUE);
+  }
+
+}