ParserTestBase.php in Feeds 8.3
File
tests/src/FunctionalJavascript/Feeds/Parser/ParserTestBase.php
View source
<?php
namespace Drupal\Tests\feeds\FunctionalJavascript\Feeds\Parser;
use Drupal\Tests\feeds\FunctionalJavascript\FeedsJavascriptTestBase;
abstract class ParserTestBase extends FeedsJavascriptTestBase {
protected $feedType;
protected $parserId = '';
public function setUp() {
parent::setUp();
$this->feedType = $this
->createFeedType([
'parser' => $this->parserId,
'mappings' => [],
]);
node_add_body_field($this->nodeType);
}
}