You are here

public function NavigationalStructureTest::entityTypeList in Entity Construction Kit (ECK) 8

Tests entity type listing.

@test

2 calls to NavigationalStructureTest::entityTypeList()
NavigationalStructureTest::entityTypeDeleteWithField in tests/src/Functional/NavigationalStructureTest.php
Tests entity type deletion if fields are present.
NavigationalStructureTest::entityTypeDeleteWithMatchingBundle in tests/src/Functional/NavigationalStructureTest.php
Tests entity type deletion with matching bundle.

File

tests/src/Functional/NavigationalStructureTest.php, line 166

Class

NavigationalStructureTest
Test Entity Construction Kit's navigational structure.

Namespace

Drupal\Tests\eck\Functional

Code

public function entityTypeList() {
  $route = 'eck.entity_type.list';
  $routeArguments = [];
  $expectedUrl = 'admin/structure/eck';
  $expectedTitle = 'ECK Entity Types';
  $this
    ->assertCorrectPageOnRoute($route, $routeArguments, $expectedUrl, $expectedTitle, [
    'Structure',
  ]);
}