public function NavigationalStructureTest::entityBundleList in Entity Construction Kit (ECK) 8
Tests entity bundle listing.
@test
File
- tests/
src/ Functional/ NavigationalStructureTest.php, line 582
Class
- NavigationalStructureTest
- Test Entity Construction Kit's navigational structure.
Namespace
Drupal\Tests\eck\FunctionalCode
public function entityBundleList() {
$route = "eck.entity.{$this->entityTypeMachineName}_type.list";
$routeArguments = [];
$expectedUrl = "admin/structure/eck/{$this->entityTypeMachineName}/bundles";
$expectedTitle = ucfirst("{$this->entityTypeLabel} bundles");
$crumbs = [
'Structure',
"ECK Entity Types",
"Edit entity type",
];
$this
->assertCorrectPageOnRoute($route, $routeArguments, $expectedUrl, $expectedTitle, $crumbs);
}