function ImportOpmlTest::setUp

Same name in other branches
  1. 9 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 29

Class

ImportOpmlTest
Tests OPML import.

Namespace

Drupal\Tests\aggregator\Functional

Code

protected function setUp() {
    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.