Commit fece3919 authored by alexpott's avatar alexpott

Issue #2878369 by mfernea: Tests for local tasks in Manage Display are not correct

parent 91164323
......@@ -33,6 +33,7 @@ class ManageDisplayTest extends WebTestBase {
protected function setUp() {
// Create a test user.
$admin_user = $this->drupalCreateUser(['access content', 'administer content types', 'administer node fields', 'administer node form display', 'administer node display', 'administer taxonomy', 'administer taxonomy_term fields', 'administer taxonomy_term display', 'administer users', 'administer account settings', 'administer user display', 'bypass node access']);
......@@ -403,8 +404,11 @@ public function testViewModeLocalTasks() {
$manage_display = 'admin/structure/types/manage/' . $this->type . '/display';
$this->assertNoLink('Full content');
$this->drupalGet($manage_display . '/teaser');
$this->assertNoLink('Full content');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment