Loading core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php +3 −8 Original line number Diff line number Diff line Loading @@ -25,13 +25,6 @@ class LocaleLocaleLookupTest extends BrowserTestBase { */ protected static $modules = ['locale', 'locale_test']; /** * {@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 @@ -53,7 +46,9 @@ protected function setUp(): void { ConfigurableLanguage::createFromLangcode('fr')->save(); $this->config('system.site')->set('default_langcode', 'fr')->save(); $this->drupalLogin($this->rootUser); $this->drupalLogin($this->drupalCreateUser([ 'administer modules', ])); } /** Loading Loading
core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php +3 −8 Original line number Diff line number Diff line Loading @@ -25,13 +25,6 @@ class LocaleLocaleLookupTest extends BrowserTestBase { */ protected static $modules = ['locale', 'locale_test']; /** * {@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 @@ -53,7 +46,9 @@ protected function setUp(): void { ConfigurableLanguage::createFromLangcode('fr')->save(); $this->config('system.site')->set('default_langcode', 'fr')->save(); $this->drupalLogin($this->rootUser); $this->drupalLogin($this->drupalCreateUser([ 'administer modules', ])); } /** Loading