You are here

function FeedsMapperEmfieldTestCase::setUp in Feeds 7

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

Set up the test.

Overrides DrupalWebTestCase::setUp

File

tests/feeds_mapper_emfield.test, line 26

Class

FeedsMapperEmfieldTestCase
Class for testing Feeds <em>emfield</em> mapper.

Code

function setUp() {

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

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