public function BundleCRUDTest::multipleBundleCreation in Entity Construction Kit (ECK) 8
Tests multiple bundle creation.
@test
Throws
\Behat\Mink\Exception\ExpectationException
File
- tests/
src/ Functional/ BundleCRUDTest.php, line 74
Class
- BundleCRUDTest
- Tests eck's bundle creation, update and deletion.
Namespace
Drupal\Tests\eck\FunctionalCode
public function multipleBundleCreation() {
$entityTypeInfo = $this
->createEntityType([], 'TestType');
$this
->createEntityBundle($entityTypeInfo['id'], 'TestBundle1');
$this
->createEntityBundle($entityTypeInfo['id'], 'TestBundle2');
}