You are here

function EntityFormTest::testFormCRUD in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Entity/EntityFormTest.php \Drupal\system\Tests\Entity\EntityFormTest::testFormCRUD()

Tests basic form CRUD functionality.

File

core/modules/system/src/Tests/Entity/EntityFormTest.php, line 39
Contains \Drupal\system\Tests\Entity\EntityFormTest.

Class

EntityFormTest
Tests the entity form.

Namespace

Drupal\system\Tests\Entity

Code

function testFormCRUD() {

  // All entity variations have to have the same results.
  foreach (entity_test_entity_types() as $entity_type) {
    $this
      ->doTestFormCRUD($entity_type);
  }
}