You are here

public function WebTestBase::setUp in Feeds XPath Parser 8

Set up test.

File

lib/Drupal/feeds_xpathparser/WebTestBase.php, line 31
Contains Drupal\feeds_xpathparser\WebTestBase.

Class

WebTestBase
Test single feeds.

Namespace

Drupal\feeds_xpathparser

Code

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

  // Set the teaser length display to unlimited otherwise tests looking for
  // text on nodes will fail.
  $edit = array(
    'fields[body][type]' => 'text_default',
  );
  $this
    ->drupalPost('admin/structure/types/manage/article/display/teaser', $edit, 'Save');
}