You are here

public function FeedsMapperFileFieldTestCase::setUp in Feeds 7

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

Set up the

Overrides DrupalWebTestCase::setUp

File

tests/feeds_mapper_filefield.test, line 30

Class

FeedsMapperFileFieldTestCase
Class for testing Feeds FileField mapper.

Code

public function setUp() {

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

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