You are here

function FeedsMapperNodereferenceTestCase::setUp in Feeds 6

Set up the test.

Overrides FeedsWebTestCase::setUp

File

tests/feeds_mapper_nodereference.test, line 27

Class

FeedsMapperNodereferenceTestCase
Class for testing Feeds nodereference mapper.

Code

function setUp() {

  // Call parent setup with required modules.
  parent::setUp('content', 'text', 'optionwidgets', 'nodereference');

  // Create user and login.
  $this
    ->drupalLogin($this
    ->drupalCreateUser(array(
    'administer content types',
    'administer feeds',
    'administer nodes',
    'administer site configuration',
  )));
}