You are here

function FeedsMapperContentTestCase::setUp in Feeds 7

Same name and namespace in other branches
  1. 6 tests/feeds_mapper_content.test \FeedsMapperContentTestCase::setUp()

Set up the test.

Overrides DrupalWebTestCase::setUp

File

tests/feeds_mapper_content.test, line 26

Class

FeedsMapperContentTestCase
Class for testing Feeds <em>content</em> mapper.

Code

function setUp() {

  // Call parent setup with required modules.
  parent::setUp('feeds', 'feeds_ui', 'ctools', 'job_scheduler', 'content', 'number', 'text');

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