You are here

private function EntityTypeCRUDTest::assertNoMismatchedFieldDefinitions in Entity Construction Kit (ECK) 8

Asserts that there are no mismatched definitions.

2 calls to EntityTypeCRUDTest::assertNoMismatchedFieldDefinitions()
EntityTypeCRUDTest::testEntityCreationDoesNotResultInMismatchedEntityDefinitions in tests/src/Functional/EntityTypeCRUDTest.php
Test if creation of an entity does not result in mismatched definitions.
EntityTypeCRUDTest::testIfEntityUpdateDoesNotResultInMismatchedEntityDefinitions in tests/src/Functional/EntityTypeCRUDTest.php
Test if updating an entity type does not result in mismatched definitions.

File

tests/src/Functional/EntityTypeCRUDTest.php, line 41

Class

EntityTypeCRUDTest
Tests if eck entity types are correctly created and updated.

Namespace

Drupal\Tests\eck\Functional

Code

private function assertNoMismatchedFieldDefinitions() {
  $this
    ->drupalGet(Url::fromRoute('system.status'));
  $this
    ->assertSession()
    ->responseNotContains('Mismatched entity and/or field definitions');
}