function NavigationLogoTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/navigation/tests/src/Functional/NavigationLogoTest.php, line 49

Class

NavigationLogoTest
Tests for \Drupal\navigation\Form\SettingsForm.

Namespace

Drupal\Tests\navigation\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Inject the file_system service.
    $this->fileSystem = $this->container
        ->get('file_system');
    // Create and log in an administrative user.
    $this->adminUser = $this->drupalCreateUser([
        'administer site configuration',
        'access navigation',
    ]);
    $this->drupalLogin($this->adminUser);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.