You are here

public function ParserTestBase::setUp in Feeds extensible parsers 8

Same name in this branch
  1. 8 tests/src/Functional/Feeds/Parser/ParserTestBase.php \Drupal\Tests\feeds_ex\Functional\Feeds\Parser\ParserTestBase::setUp()
  2. 8 tests/src/Unit/Feeds/Parser/ParserTestBase.php \Drupal\Tests\feeds_ex\Unit\Feeds\Parser\ParserTestBase::setUp()

Overrides FeedsBrowserTestBase::setUp

File

tests/src/Functional/Feeds/Parser/ParserTestBase.php, line 29

Class

ParserTestBase
Base class for parser functional tests.

Namespace

Drupal\Tests\feeds_ex\Functional\Feeds\Parser

Code

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

  // Create a feed type.
  $this->feedType = $this
    ->createFeedType([
    'parser' => $this->parserId,
  ]);
}