Loading core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -263,13 +263,13 @@ public function testLocalTaskBlockCache() { $this->drupalLogin($this->drupalCreateUser([ 'administer content types', 'administer permissions', 'administer account settings', ])); $this->drupalCreateContentType(['type' => 'page']); // Only the Edit task. The block avoids showing a single tab. $this->drupalGet('/admin/config/people/accounts'); // @@todo Add assertion here to check the page was actually visited. // https://www.drupal.org/project/drupal/issues/3443748 $this->assertSession()->statusCodeEquals(200); $this->assertNoLocalTasks(); // Only the Edit and Manage permission tabs. Loading Loading
core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -263,13 +263,13 @@ public function testLocalTaskBlockCache() { $this->drupalLogin($this->drupalCreateUser([ 'administer content types', 'administer permissions', 'administer account settings', ])); $this->drupalCreateContentType(['type' => 'page']); // Only the Edit task. The block avoids showing a single tab. $this->drupalGet('/admin/config/people/accounts'); // @@todo Add assertion here to check the page was actually visited. // https://www.drupal.org/project/drupal/issues/3443748 $this->assertSession()->statusCodeEquals(200); $this->assertNoLocalTasks(); // Only the Edit and Manage permission tabs. Loading