You are here

public function UITest::testAddEntityTypeActions in Entity Construction Kit (ECK) 8

Makes sure the Add entity type actions are properly implemented.

File

tests/src/Functional/UITest.php, line 34

Class

UITest
Tests if eck's UI elements are working properly.

Namespace

Drupal\Tests\eck\Functional

Code

public function testAddEntityTypeActions() {
  $this
    ->drupalGet(Url::fromRoute('eck.entity_type.list'));
  $this
    ->assertSession()
    ->linkExists($this
    ->t('Add entity type'));
}