By berdir on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
The test entity types provided by test.module have been removed. The test entity types provided by entity_test.module should now be used for the purpose of writing tests that rely on the entity system (for example field type tests).
7.x
$entity = field_test_create_entity($id, $vid, $bundle);
field_test_entity_save($entity);
8.x
$entity = EntityTest::create(array('id' => $id, 'revision_id' => $revision_id, 'type' => $bundle));
$entity->save();
Impacts:
Module developers