You are here

public function FeedsMapperLinkTestCase::setUp in Feeds 7

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

Set up the test.

Overrides DrupalWebTestCase::setUp

File

tests/feeds_mapper_link.test, line 26

Class

FeedsMapperLinkTestCase
Class for testing Feeds <em>link</em> mapper.

Code

public function setUp() {

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

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