function EntityUUIDTest::testCRUD
Same name in other branches
- 8.9.x core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php \Drupal\KernelTests\Core\Entity\EntityUUIDTest::testCRUD()
- 10 core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php \Drupal\KernelTests\Core\Entity\EntityUUIDTest::testCRUD()
- 11.x core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php \Drupal\KernelTests\Core\Entity\EntityUUIDTest::testCRUD()
Tests UUID generation in entity CRUD operations.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityUUIDTest.php, line 29
Class
- EntityUUIDTest
- Tests creation, saving, and loading of entity UUIDs.
Namespace
Drupal\KernelTests\Core\EntityCode
public function testCRUD() {
// All entity variations have to have the same results.
foreach (entity_test_entity_types() as $entity_type) {
$this->assertCRUD($entity_type);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.