You are here

public function ParserTestBase::setUp in Feeds 8.3

Overrides FeedsJavascriptTestBase::setUp

File

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

Class

ParserTestBase
Base class for parser functional javascript tests.

Namespace

Drupal\Tests\feeds\FunctionalJavascript\Feeds\Parser

Code

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

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