Verified Commit def593ba authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3439894 by SolimanHarkas, vensires: Fix Locale tests that rely on UID1's super user behavior

(cherry picked from commit e7ec8284)
parent e1e8d87d
Loading
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -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}
@@ -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',
    ]));
  }

  /**