You are here

public function FeedsMapperDateTestCase::setUp in Feeds 7

Same name and namespace in other branches
  1. 6 tests/feeds_mapper_date.test \FeedsMapperDateTestCase::setUp()
  2. 7.2 tests/feeds_mapper_date.test \FeedsMapperDateTestCase::setUp()

Set up the test.

Overrides DrupalWebTestCase::setUp

File

tests/feeds_mapper_date.test, line 29

Class

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

Code

public function setUp() {

  // Call parent setup with the required module.
  parent::setUp('feeds', 'feeds_ui', 'ctools', 'job_scheduler', 'content', 'date_api', 'date');

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