public function FieldUIRouteTest::assertLocalTasks in Drupal 8
Same name and namespace in other branches
- 9 core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php \Drupal\Tests\field_ui\Functional\FieldUIRouteTest::assertLocalTasks()
Asserts that local tasks exists.
1 call to FieldUIRouteTest::assertLocalTasks()
- FieldUIRouteTest::testFieldUIRoutes in core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIRouteTest.php - Ensures that entity types with bundles do not break following entity types.
File
- core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIRouteTest.php, line 109
Class
- FieldUIRouteTest
- Tests the functionality of the Field UI route subscriber.
Namespace
Drupal\Tests\field_ui\FunctionalCode
public function assertLocalTasks() {
$this
->assertSession()
->linkExists('Settings');
$this
->assertSession()
->linkExists('Manage fields');
$this
->assertSession()
->linkExists('Manage display');
$this
->assertSession()
->linkExists('Manage form display');
}