public function BundleCRUDTest::identicallyNamedBundleCreation in Entity Construction Kit (ECK) 8
Tests identically named bundle creation.
@test
Throws
\Behat\Mink\Exception\ExpectationException
File
- tests/
src/ Functional/ BundleCRUDTest.php, line 87
Class
- BundleCRUDTest
- Tests eck's bundle creation, update and deletion.
Namespace
Drupal\Tests\eck\FunctionalCode
public function identicallyNamedBundleCreation() {
$entityTypeInfo1 = $this
->createEntityType([], 'TestType1');
$entityTypeInfo2 = $this
->createEntityType([], 'TestType2');
$this
->createEntityBundle($entityTypeInfo1['id'], 'TheBundle');
$this
->createEntityBundle($entityTypeInfo2['id'], 'TheBundle');
}