You are here

public function GeoRSSFeedsMapperLocationTestCase::setUp in Location Feeds 7

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

Set up the test.

File

tests/location_feeds.georss.test, line 26

Class

GeoRSSFeedsMapperLocationTestCase

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',
  )));
}