You are here

public function BundleCRUDTest::singleBundleCreation in Entity Construction Kit (ECK) 8

Tests single bundle creation.

@test

Throws

\Behat\Mink\Exception\ExpectationException

File

tests/src/Functional/BundleCRUDTest.php, line 19

Class

BundleCRUDTest
Tests eck's bundle creation, update and deletion.

Namespace

Drupal\Tests\eck\Functional

Code

public function singleBundleCreation() {
  $entityTypeInfo = $this
    ->createEntityType([], 'TestType');
  $this
    ->createEntityBundle($entityTypeInfo['id'], 'TestBundle');
}