function ImportOpmlTest::setUp

Same name in other branches
  1. 8.9.x core/modules/aggregator/tests/src/Functional/ImportOpmlTest.php \Drupal\Tests\aggregator\Functional\ImportOpmlTest::setUp()

Overrides AggregatorTestBase::setUp

File

core/modules/aggregator/tests/src/Functional/ImportOpmlTest.php, line 30

Class

ImportOpmlTest
Tests OPML import.

Namespace

Drupal\Tests\aggregator\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $admin_user = $this->drupalCreateUser([
        'administer news feeds',
        'access news feeds',
        'create article content',
        'administer blocks',
    ]);
    $this->drupalLogin($admin_user);
}

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