public function NavigationalStructureTest::entityTypeAdd in Entity Construction Kit (ECK) 8
Tests entity type creation.
@test
File
- tests/
src/ Functional/ NavigationalStructureTest.php, line 180
Class
- NavigationalStructureTest
- Test Entity Construction Kit's navigational structure.
Namespace
Drupal\Tests\eck\FunctionalCode
public function entityTypeAdd() {
$routeArguments = [];
$route = 'eck.entity_type.add';
$expectedUrl = 'admin/structure/eck/add';
$expectedTitle = 'Add entity type';
$crumbs = [
'Structure',
'ECK Entity Types',
];
$this
->assertCorrectPageOnRoute($route, $routeArguments, $expectedUrl, $expectedTitle, $crumbs);
}