public function ManageDisplayTest::testViewModeLocalTasks in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/field_ui/src/Tests/ManageDisplayTest.php \Drupal\field_ui\Tests\ManageDisplayTest::testViewModeLocalTasks()
Tests the local tasks are displayed correctly for view modes.
File
- core/
modules/ field_ui/ src/ Tests/ ManageDisplayTest.php, line 363 - Contains \Drupal\field_ui\Tests\ManageDisplayTest.
Class
- ManageDisplayTest
- Tests the Field UI "Manage display" and "Manage form display" screens.
Namespace
Drupal\field_ui\TestsCode
public function testViewModeLocalTasks() {
$manage_display = 'admin/structure/types/manage/' . $this->type . '/display';
$this
->drupalGet($manage_display);
$this
->assertNoLink('Full content');
$this
->drupalGet($manage_display . '/teaser');
$this
->assertNoLink('Full content');
}