public function FieldUIRouteTest::testFieldUIRoutes

Ensures that entity types with bundles do not break following entity types.

File

drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/FieldUIRouteTest.php, line 47
Contains \Drupal\field_ui\Tests\FieldUIRouteTest.

Class

FieldUIRouteTest
Tests the functionality of the Field UI route subscriber.

Namespace

Drupal\field_ui\Tests

Code

public function testFieldUIRoutes() {
  $this
    ->drupalGet('field-ui-test-no-bundle/manage/fields');
  $this
    ->assertText('No fields are present yet.');
  $this
    ->drupalGet('admin/structure/types/manage/article/fields');
  $this
    ->assertTitle('Article | Drupal');
}