Issue #2928906 by tstoeckler, hchonov, gnunes, gease, amateescu, daffie,...
Issue #2928906 by tstoeckler, hchonov, gnunes, gease, amateescu, daffie, alexpott, catch, claudiu.cristea: The field schema incorrectly stores serial fields as int
Changes for core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php: 60 added lines, 1 removed line.
Original line number
Diff line number
Diff line
@@ -328,7 +328,7 @@ public function testCleanUpStorageDefinition() {
if($definition->getProvider()=='entity_test'){
$this->installEntitySchema($entity_type_id);
$entity_type_ids[]=$entity_type_id;
};
}
}
// Get a list of all the entities in the schema.
@@ -371,4 +371,63 @@ public function testCleanUpStorageDefinition() {
$this->assertEqual($entity_type_id_count,0,'After uninstalling entity_test module the schema should not contains fields from entities provided by the module.');
}
/**
* Tests the installed storage schema for identifier fields.