You are here

protected function ImportOpmlTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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() : void {
  parent::setUp();
  $admin_user = $this
    ->drupalCreateUser([
    'administer news feeds',
    'access news feeds',
    'create article content',
    'administer blocks',
  ]);
  $this
    ->drupalLogin($admin_user);
}