function FeedsMapperProfileTestCase::setUp in Feeds 7
Same name and namespace in other branches
- 6 tests/feeds_mapper_profile.test \FeedsMapperProfileTestCase::setUp()
- 7.2 tests/feeds_mapper_profile.test \FeedsMapperProfileTestCase::setUp()
Set up the test.
Overrides DrupalWebTestCase::setUp
File
- tests/
feeds_mapper_profile.test, line 26
Class
- FeedsMapperProfileTestCase
- Class for testing Feeds <em>content</em> mapper.
Code
function setUp() {
// Call parent setup with required modules.
parent::setUp('feeds', 'feeds_ui', 'ctools', 'job_scheduler', 'profile');
// Create user and login.
$this
->drupalLogin($this
->drupalCreateUser(array(
'administer users',
'administer feeds',
'administer site configuration',
)));
}