You are here

public function UserFeedsMapperLocationTestCase::setUp in Location Feeds 6

Same name and namespace in other branches
  1. 7 tests/location_feeds.user.test \UserFeedsMapperLocationTestCase::setUp()

Set up the test.

Overrides FeedsWebTestCase::setUp

File

tests/location_feeds.user.test, line 25

Class

UserFeedsMapperLocationTestCase

Code

public function setUp() {

  // Call parent setup with required modules.
  parent::setUp('feeds', 'feeds_ui', 'ctools', 'job_scheduler', 'location', 'location_user', 'location_feeds');

  // Create user and login.
  $this
    ->drupalLogin($this
    ->drupalCreateUser(array(
    'administer feeds',
    'administer site configuration',
    'administer users',
    'set own user location',
  )));
}