You are here

public function DMSFeedsMapperLocationTestCase::setUp in Location Feeds 7

Same name and namespace in other branches
  1. 6 tests/location_feeds.dms.test \DMSFeedsMapperLocationTestCase::setUp()

Set up the test.

File

tests/location_feeds.dms.test, line 26

Class

DMSFeedsMapperLocationTestCase

Code

public function setUp() {

  // Call parent setup with required modules.
  parent::setUp(array(
    'location',
    'location_node',
    'location_feeds',
  ));

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