Loading core/modules/toolbar/tests/src/FunctionalJavascript/ToolbarActiveTrailTest.php +6 −9 Original line number Diff line number Diff line Loading @@ -18,14 +18,6 @@ class ToolbarActiveTrailTest extends WebDriverTestBase { */ protected static $modules = ['toolbar', 'node', 'field_ui']; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ Loading @@ -36,8 +28,13 @@ class ToolbarActiveTrailTest extends WebDriverTestBase { */ protected function setUp(): void { parent::setUp(); $this->drupalLogin($this->rootUser); $this->drupalCreateContentType(['type' => 'article', 'name' => 'Article']); $this->drupalLogin($this->drupalCreateUser([ 'access administration pages', 'administer content types', 'administer node fields', 'access toolbar', ])); } /** Loading Loading
core/modules/toolbar/tests/src/FunctionalJavascript/ToolbarActiveTrailTest.php +6 −9 Original line number Diff line number Diff line Loading @@ -18,14 +18,6 @@ class ToolbarActiveTrailTest extends WebDriverTestBase { */ protected static $modules = ['toolbar', 'node', 'field_ui']; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ Loading @@ -36,8 +28,13 @@ class ToolbarActiveTrailTest extends WebDriverTestBase { */ protected function setUp(): void { parent::setUp(); $this->drupalLogin($this->rootUser); $this->drupalCreateContentType(['type' => 'article', 'name' => 'Article']); $this->drupalLogin($this->drupalCreateUser([ 'access administration pages', 'administer content types', 'administer node fields', 'access toolbar', ])); } /** Loading