You are here

protected function FeedsBrowserTestBase::setUp in Feeds 8.3

Overrides BrowserTestBase::setUp

10 calls to FeedsBrowserTestBase::setUp()
CsvParserFeedFormTest::setUp in tests/src/Functional/Feeds/Parser/Form/CsvParserFeedFormTest.php
ExpireTest::setUp in tests/src/Functional/ExpireTest.php
FeedsDrushCommandsTest::setUp in tests/src/Functional/Commands/FeedsDrushCommandsTest.php
FeedsItemFormatterTestBase::setUp in tests/src/Functional/Plugin/Field/FieldFormatter/FeedsItemFormatterTestBase.php
FileTest::setUp in tests/src/Functional/Feeds/Target/FileTest.php

... See full list

10 methods override FeedsBrowserTestBase::setUp()
CsvParserFeedFormTest::setUp in tests/src/Functional/Feeds/Parser/Form/CsvParserFeedFormTest.php
ExpireTest::setUp in tests/src/Functional/ExpireTest.php
FeedsDrushCommandsTest::setUp in tests/src/Functional/Commands/FeedsDrushCommandsTest.php
FeedsItemFormatterTestBase::setUp in tests/src/Functional/Plugin/Field/FieldFormatter/FeedsItemFormatterTestBase.php
FileTest::setUp in tests/src/Functional/Feeds/Target/FileTest.php

... See full list

File

tests/src/Functional/FeedsBrowserTestBase.php, line 47

Class

FeedsBrowserTestBase
Provides a base class for Feeds functional tests.

Namespace

Drupal\Tests\feeds\Functional

Code

protected function setUp() {
  parent::setUp();

  // Create a content type.
  $this
    ->setUpNodeType();

  // Create an user with Feeds admin privileges.
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer feeds',
    'access feed overview',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}