TimestampSchemaTest.php in Drupal 9
File
core/tests/Drupal/KernelTests/Core/Datetime/TimestampSchemaTest.php
View source
<?php
namespace Drupal\KernelTests\Core\Datetime;
use Drupal\KernelTests\KernelTestBase;
class TimestampSchemaTest extends KernelTestBase {
protected static $modules = [
'entity_test',
'field',
'field_timestamp_test',
'user',
];
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('entity_test');
}
public function testTimestampSchema() {
$this
->installConfig([
'field_timestamp_test',
]);
$this
->assertTrue(TRUE);
}
}